Professional Documents
Culture Documents
Java Fundamentals - Teacher - English: Outline
Java Fundamentals - Teacher - English: Outline
Correct
48. Which of the following correctly describes the use of the keyword Mark for Review
super? (1) Points
A keyword that allows subclasses to access methods, data, and
constructors from their parent class. (*)
A keyword that signals the end of a program.
A keyword that restricts access to only inside the same class.
A keyword that allows access from anywhere.
Correct
49. Which of the following is the correct way to call an overriden method Mark for Review
needOil() of a super class Robot in a subclass SqueakyRobot? (1) Points
Robot.needOil(SqueakyRobot);
needOil(Robot);
super.needOil(); (*)
SqueakyRobot.needOil();
Correct
50. Which of the following is the proper way to set the public variable Mark for Review
length of the super class equal to 5 from inside the subclass? (1) Points
super.length() = 5
super(length = 5)
super.length = 5 (*)
super.length(5)
Correct
http://ilearning.oracle.com/ilearn/en/learner/jsp/player.jsp?rco_id=2005567461&classroom_id=2031716710&scorm_attempt=1524799703122&sessionId=-5493528081