public interface Foo { int k = 4; /* Line 3 */ } Which three piece of codes are equivalent to line 3? 1, final int k = 4; public int k = 4; static int k = 4; abstract int k = 4; volatile int k = 4; protected int k = 4;
Correct Answer: 3, 4 and 5
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions