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
Can we have try block without catch block?
What invokes a thread's run() method in java programming?
Explain an algorithm to find depth of a binary tree.
Why is whitespace important?
How to add menushortcut to menu item?
Explain inheritance in java?
How do you reverse sort in java?
What is meant by main method?
When we serialize an object does the serialization mechanism saves its references too?
What do you mean by compiler?
Write a program in java to find the maximum and minimum value node from a circular linked list.
Difference between overriding and overloading in java?
What methods are used to get and set the text label displayed by a button object?
What is java command?
How to declare an arraylist in java?