Can you have a constructor in abstract class?
Answer Posted / dileep
Yes you can have a constructor in abstract class but you
should not instansiated directly you have to write one
subclass extends the abstract class.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Can a class have more than one object?
Explain about static imports in java?
Whats the difference between notify() and notifyall()?
What is final keyword in java? Give an example.
Why is String immutable?
What is difference between path and classpath in java?
What is the use of http-tunneling in rmi?
What is anagram word?
What is the function of log?
What is an argument java?
What is a parameter in matrices?
What is a method declaration?
What is the use of parse function in java?
Explain runtime exceptions?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.