Suppose that the class F is defined in (a). Let f be an instance of F. Which of the statements in (b) are correct?
(a)
public class F {
int i;
static String s;
void imethod() {
}
static void smethod() {
}
}
(b)
System.out.println(f.i);
System.out.println(f.s);
f.imethod();
f.smethod();
System.out.println(F.i);
System.out.println(F.s);
F.imethod();
F.smethod();
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.