Which code fragment should be inserted at line n1 to enable the code to print Rat Cat Lion Tiger?
A. Arrays.sort(strArray, CheckClass::checkValue);
B. Arrays.sort(strArray, (CheckClass::new)::checkVa...
What is the result?
A. A file with the name log.txt is created in the /data directory and the content of the /data/december/log.txt file is copied to it.
B. The program executes successfully and does...
Which modification enables the code fragment to print Happy Journey!?
A. Replace line n1 with public void ride() throws FuelNotAvailException {
B. Replace line n1 with protected void ride() throws...