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?
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?
Answer: Option E
Submit Your Solution Below and Earn Points !
Submit Your Solution Below and Earn Points !
More Questions on This Topic :
Question 1. Runnable is a _____ .....
Submit Solution