Can you have a constructor in abstract class?
Answer Posted / vivek
Yes you can have only non parameterized constructor in
abstract class, Because for parameterized constructor we
will have to make instance of abstract class which is not
possible.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Is heap stored in ram?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is the exact difference in between Unicast and Multicast object?
What is the vector class in java programming?
What is string [] args?
What is the difference between abstract classes and interfaces?
What are the java ide's? Explain
How we can execute any code even before main method?
What is the importance of main method in Java?
Is array an object in java?
How do you create immutable object in java?
Write a program to check string is palindrome without using loop?
What are the main differences between notify and notifyAll in Java?
Explain the difference between hashmap and hashtable in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?