✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
import java.awt.Button;
class CompareReference
{
public static void main(String [] args)
{
float f = 42.0f;
float [] f1 = new float[2];
float [] f2 = new float[2];
float [] f3 = f1;
long x = 42;
f1[0] = 42.0f;
}
}
Які три рядки є вірними?
f1 == f2
f1 == f3
f2 == f1[1]
x == f1[0]
f == f1[0]