Can you have a constructor in abstract class?
Answer Posted / naveen
a abstract class can contain abstract methods and concrete methods, to initiate and use these method we can create the object and also a constructor
| Is This Answer Correct ? | 7 Yes | 27 No |
Post New Answer View All Answers
What is string and its types?
Difference between throw and throws?
What is the difference between jfc & wfc?
What is a modifier?
How many types of the indexof method are there for strings?
How many inner classes can a class have?
Explain about the performance aspects of core java?
What is a local class in java?
What are the differences between checked exception and unchecked exception?
How does compareto work in java?
Define inheritance with reference to java.
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What is the biggest integer?
What are internal variables?
How to perform binary search in java?