Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
Which of the following statements about inheritance is false?
Inheritance allows you to minimize the amount of duplicate code in an application by sharing common code among several subclasses.
A subclass inherits all the members (fields, methods, and nested classes) from its superclass.
Through inheritance, a parent class is a more specialized form of the child class.
Inheritance allows you to reuse the fields and methods of the super class without having to write them yourself.
Show Answer
Correct Answer:
Through inheritance, a parent class is a more specialized form of the child class.
← Previous Question
Next Question→
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment