1Z0-811 Object-Oriented Programming Practice Question
Which TWO statements are true about the 'super' keyword in Java?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
It can be used to call a superclass method that has been overridden.
The 'super' keyword can be used to call a superclass method that has been overridden, using 'super.methodName()'. Option D is correct because 'super()' invokes the superclass constructor. Option A is wrong because 'super' cannot access private methods of the superclass. Option B is wrong because 'super' cannot access private fields. Option E is wrong because 'super' cannot invoke static methods directly; static methods are accessed via the class name.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It can be used to access private methods of the superclass.
Why it's wrong here
Incorrect. The 'super' keyword cannot access private members of the superclass. Private methods are not accessible from subclasses.
- ✗
It can be used to access private fields of the superclass.
Why it's wrong here
Incorrect. Private fields are not accessible via 'super' because they are not inherited in a way that allows direct access.
- ✓
It can be used to call a superclass method that has been overridden.
Why this is correct
Correct. Using 'super.methodName()' allows a subclass to call the overridden method from the superclass.
- ✓
It can be used to invoke a superclass constructor.
Why this is correct
Correct. 'super()' is used to call the superclass constructor, and it must be the first statement in a constructor.
- ✗
It can be used to invoke a static method of the superclass.
Why it's wrong here
Incorrect. Static methods should be called using the class name, not 'super'. While it is syntactically possible, it is not a recommended use and does not follow the purpose of 'super'.
Go deeper
Related to this question
About these practice questions
This 1Z0-811 question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 1Z0-811 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-811 exam.