can abstract class have constructor how can you achive
this ?
Answer Posted / bhargava
You cannot crate the constructor for an abstract class
directly. But you can create constructor for subclass for
an abstract class by making new class sub class for the
abstract class.
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Which of the following is not an isolation level in the JDBC
Why parsing is done?
What is the difference between variable declaration and variable initialization?
What is the difference between @before and @beforeclass annotation?
What is the difference between serial and throughput garbage collector?
Java.util.regex consists of which classes?
What is a double?
What are alternatives to java serialization?
What is Hierarchy of exception?
What is argument in java?
What is array list in java?
How to calculate the length of a singly linked list in java?
What is considered an anti pattern?
What are structs in java?
What about static nested classes in java?