Question: Java Consider these class declarations: public class Person {...} public class Teacher extends Person {...} Which is a true statement? I Teacher inherits the constructors

Java

Java Consider these class declarations: public class Person {...} public class Teacher

Consider these class declarations: public class Person {...} public class Teacher extends Person {...} Which is a true statement? I Teacher inherits the constructors of Person. II Teacher can add new methods and private instance variables. III Teacher can override existing private methods of Person. (A) I only (B) II only (C) III only (D) I and II only (E) II and III only

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!