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
How to create an interface?
What is the benefit of inner classes in java?
Is array an object in java?
Difference between error and exception
Are strings immutable in java?
Why is a singleton bad?
Write a java program to print fibonacci series?
Difference between object and reference?
Who is the owner of java?
What is class and its types?
Explain about data types?
What is array length in java?
What is difference overloading and overriding?
Explain thread in java?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?