The abstract classes in java can _________________

KellyPoima

New member
The abstract classes in java can _________________
A. Implement constructors
B. Can’t implement constructor
C. Can implement only unimplemented methods
D. Can’t implement any type of constructor
 
Answer: a
Explanation: The abstract classes in java can define a constructor. Even though instance can’t be created. But in this way, only during constructor chaining, constructor can be called. When instance of concrete implementation class is created, it’s known as constructor chaining.
 

Tìm kiếm

Back
Top