Java please An abstract class you cannot extend and cannot instantiate you can e
ID: 3695092 • Letter: J
Question
Java please
Explanation / Answer
Q) An abstract class - you can be extended but cannot be instantiate
An abstract class is declared as abstract may or may not include abstract methods. It provide only the abstract declarations of methods but no definitions. Abstract classes cannot be instantiated, but they can be extended. When an abstract class is extended, the subclass, usually provides implementations for all of the abstract methods in its parent class.
Q) An interface - you cannot instantiate and cannot declare a variable of its type
Interface variables static and final by default in Java. Interfaces provide only abstract methods and final static variables.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.