In the java language answer true or false to the following: An interface referen
ID: 671018 • Letter: I
Question
In the java language answer true or false to the following:
An interface reference can refer to any object of any class that implements the interface.
An interface can be used to declare the type of an object.
A polymorphic refrence can refer to different types of objects over time.
All objects have the methods of class Object.
Which of the following are allowed in java?
A class that inherits from one class and implements one interface
A class that implements two interfaces
A class that inherits from two classes.
Explanation / Answer
True
False
True
True
Allowed
Allowed
Not Allowed
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.