Single Choice
Not Set
QChoose all the lines which if inserted independently instead of "//insert code here" will allow the following code to compile:
public class Test{
public static void main(String args[]){
add();
add(1);
add(1, 2);
}
// insert code here
}
ID: #2099
Declaration and Access Control in Java
1,889 views
Question Info
#2099Q ID
Not SetDifficulty
Declaration and Access Control in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
static void add(int...args){}
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic