Live quiz

java - Part 7

Question 1 of 25 Hints left: 3
Q1

Choose 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 }

  • A
  • B
  • C
  • D