Single Choice
Not Set
Q
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?
ID: #2283
Java Interfaces And Abstract Classes MCQ
1,344 views
Question Info
#2283Q ID
Not SetDifficulty
Java Interfaces And Abstract Classes MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
None of these
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic