Answer the following questions. a. How Java compensated for the absence of multiple inheritance? b. A class that contains any abstract methods must be declared as an abstract class even if that class...


Answer the following questions.
a. How Java compensated for the absence of multiple inheritance?
b. A class that contains any abstract methods must be declared as an abstract
class even if that class contains some concrete (nonabstract) methods, why?
c. Abstract class cannot be instantiated, why?
d. Interfaces cannot contain constructors, why?
e. In interfaces, data member should be initialized in the declaration, why?
f. An interface cannot declare static methods. It can only declare instance
methods, why?



Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here