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
What are the advantages of arraylist over arrays?
What is Gang of four design patterns
What is nextline method in java?
Why method overriding is used?
how to prepare for IT Officers Interview in Banks
How we can declare a static variable?
What classes of exceptions may be caught by a catch clause in java programming?
What about method local inner classes or local inner classes in java?
Which is bigger float or double?
What is use of a abstract variable?
What is the functionality of the stub?
Can an interface have a class?
What is the indent key?
What do you mean by checked exceptions?
Is java pass by value or pass by reference?