Question 151
Given:

Which two constructors will compile and set the class field strings? (Choose two.)


Which two constructors will compile and set the class field strings? (Choose two.)

Question 152
Given:
List<String> longlist = List.of("Hello","World","Beat");
List<String> shortlist = new ArrayList<>();
Which code fragment correctly forms a short list of words containing the letter "e"?

List<String> longlist = List.of("Hello","World","Beat");
List<String> shortlist = new ArrayList<>();
Which code fragment correctly forms a short list of words containing the letter "e"?

Question 153
Which module-info.java is correct for a service provider for a print service defined in the PrintServiceAPI module?
Question 154
Given:

and

Which four identifiers from the Fooand Barclasses are visible at line 1? (Choose four.)

and

Which four identifiers from the Fooand Barclasses are visible at line 1? (Choose four.)
Question 155
Given:

What is the result?

What is the result?

