Question 51
Given:

Which two lines cause compilation errors? (Choose two.)

Which two lines cause compilation errors? (Choose two.)
Question 52
Given:

Which statement is true about the Fox class?

Which statement is true about the Fox class?
Question 53
Given:
LocalDate d1 = LocalDate.of(1997,2,7);
DateTimeFormatter dtf =
DateTimeFormatter.ofPattern( /*insert code here*/ );
System.out.println(dtf.format (d1));
Which pattern formats the date as Friday 7th of February 1997?
LocalDate d1 = LocalDate.of(1997,2,7);
DateTimeFormatter dtf =
DateTimeFormatter.ofPattern( /*insert code here*/ );
System.out.println(dtf.format (d1));
Which pattern formats the date as Friday 7th of February 1997?
Question 54
Given the code fragment:
List<Integer> list = List.of(11,12,13,12,13);
Which statement causes a compile time error?
List<Integer> list = List.of(11,12,13,12,13);
Which statement causes a compile time error?
Question 55
Given:

What is the result?

What is the result?

