Which of the following lines will compile when added to the Child class
without making any other changes.
public class Child {
void
test() {
System.out.println("Child.test()");
}
}
Select all valid answers.
a) abstract void test_a (int i);
b) abstract void test_b (int i) { };
c) abstract void test ();
d) final void test_d (int i);
e) native void test_e (int i);
f) private abstract void test_f(int i);
the correct ans is d..
I think the answer should be e and d