Can you have a constructor in abstract class?
Answer Posted / ranjan
We can write a method name same as class which is called
constructor in the abstract class , but as a abstract class
can not be instanciated so that method used as a general
method.
but no error would be there...
Is This Answer Correct ? | 31 Yes | 16 No |
Post New Answer View All Answers
What is java used for?
What is anagram word?
How will you call an Applet using Java Script Function?
Why is java so important?
What is argument in java?
Can an abstract class be a final class?
What do you understand by access specifiers in Java?
What about main thread in java?
Which is bigger float or double java?
Can we restart a thread already started in java?
What best practices should you follow while writing multithreaded code in java?
What does a za z0 9 mean?
Explain the difference between collection api and stream api in java8?
What defines function?
Is java based on c?