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
When can you say a graph to be a tree?
What are scriptlets?
What is the use of beaninfo?
Where import statement is used in a java program?
Can you access the private method from outside the class?
Is java 11 paid version?
What are different types of expressions?
What is "this" keyword in java? Explain
Is null a string?
Is multiple inheritance supported by java?
What is static method with example?
Can static methods be inherited?
What does the “static” keyword mean? Can you override private or static method in java?
What is natural ordering in java?
Which collection allows duplicate values in java?