can abstract class have constructor how can you achive
this ?
Answers were Sorted based on User's Feedback
Answer / rajasekharreddy.y
Yes abstract class must have the constructor, these
constructor we can achive by creating the instance of the
concreate subclass of the abstract class.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / 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 |
What do you mean by platform independence?
Explain the features of interfaces in java?
What is application system?
What are unchecked exceptions in java?
How do I remove a character from a string in java?
wat is class level lock and object level lock
Why singleton is not thread safe?
What is a nested class?
whst is encapsulation?when u encpsulate actually while devoloping code?
What is Gang of four design patterns
how to open and edit XML file in Weblogic???
What is difference between calling start() and run() method of thread?