Question 116
Given the code fragment:

What is the result?
A)

B)

C)

D)


What is the result?
A)

B)

C)

D)

Question 117
Given:

and the commands:

What is the result on execution of these commands?
Test.class - > java.sql -> java.base

and the commands:

What is the result on execution of these commands?
Test.class - > java.sql -> java.base
Question 118
Given:

Which three classes successfully override showFirst ()?
A)

B)

C)

D)

E)

F)


Which three classes successfully override showFirst ()?
A)

B)

C)

D)

E)

F)

Question 119
Given:

and:

Which code, when inserted on line 10, prints the number of unique localities from the roster list?

and:

Which code, when inserted on line 10, prints the number of unique localities from the roster list?
Question 120
Given:
public class X {
}
and
public final class Y extends X {
}
What is the result of compiling these two classes?
public class X {
}
and
public final class Y extends X {
}
What is the result of compiling these two classes?

