Upgrade Java SE 7 to Java SE 8 OCP Programmer (1Z0-810)
© examsiri.com
Question : 3 of 8
Marks:
+1,
-0
Given the code fragment:
Which code fragment can be inserted at Line n1 to enable the code to print 2?
public static void main(String[] args) {
List courses = Arrays.asList("Java", "Oracle", "JSF", "EJB");
/* Line n1*/
System.out.println(count);
} Which code fragment can be inserted at Line n1 to enable the code to print 2?
Go to Question: