Sail E0 Webinar
Question
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?
Options:
A .  1
B .  None of these
C .  4
D .  3
E .  2
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers