Given: Which three lines will compile and output “right on!”?
A.
Line 9
B.
Line 10
C.
Line 8
D.
Line 7
E.
Line 6
F.
Line 5
Given: Which three lines will compile and output “right on!”?
A.
Line 9
B.
Line 10
C.
Line 8
D.
Line 7
E.
Line 6
F.
Line 5
B,C,D
Answers: B, C, D
Explanation:
A is wrong because the code syntax is incorrect.
E is wrong because is the same case as A.
F is wrong because method tellItLikeItIs() is undefined for Speak class.