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 technique is carried out to find out if a particular string is empty?
What is final method in java?
if we give input as " hi how are you" then the output should be "uoy woh"...it should skip odd words in the input and should reverse even words from the end of string...can anyone help me to write this program in java
What does this () mean in java?
why Java does not support multiple inheritances?
What Method and class used for Connection pooling ?
Explain enumeration in java?
what is translator and it types
What is thread priority?
What is e in java?
What is difference between char array and string?
i would like to attend for an interview of datalab technologies company i want to know the pattern of imnterview.