Vidyalelo
Java Programming · Q43

Interfaces and Abstract Classes

Programming · Java Programming · question 43

Q43

interface Test int p = 10; //line 1 public int q = 20; //line 2 public static int r = 30; //line 3 public static final int s = 40; //line 4 Which of the above line will give compilation error?

A.
1
B.
2
C.
3
D.
4
E.
None of these
Answer

Answer: Option E

Solution

Answer: Option E
No explanation is given for this question Let's Discuss on Board