Question: 10. Consider the following interface and class declarations. public interface Student {1 implementation not shown * } public class Athlete {1 implementation not shown *

 10. Consider the following interface and class declarations. public interface Student

10. Consider the following interface and class declarations. public interface Student {1 implementation not shown * } public class Athlete {1 implementation not shown * } public class Tennisplayer extends Athlete implements Student {/ * implementation not shown * /} Assume that each class has a zero-parameter constructor. Which of the following is NOT a valid declaration? (A) Student a = new Tennisplayer(); (B) Tennisplayer b= new Tennisplayer() ; (C) Athlete c= new Tennisplayer(); (D) Student d= new Athlete(); (E) Athlete e = new Athlete()

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!