Question: In Java, can an abstract class have a constructor? a . Yes, an abstract class can have a constructor. b . No , an abstract
In Java, can an abstract class have a constructor?
aYes, an abstract class can have a constructor.
b
No an abstract class cannot have a constructor.
c
It depends on the access modifiers of the constructor.
d
It depends on the version of Java being used.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
