What isan abstract class and when do you use it?
An abstract class allows you to create functionality that subclasses can implement or override. An interface only allows you to define functionality, not implement it. And whereas a class can extend only one abstract class, it can take advantage of multiple interfaces.
Is This Answer Correct ? | 0 Yes | 0 No |
Can we have two main methods in a java class?
Enlist few advantages of inheritance?
What is reflexive association?
How to do a true java ping from windows?
What are the steps to do connection pooling in weblogic?
What is the difference between Stream Reader and Stream Writer?
How java is platform independent?
41 Answers College School Exams Tests, Infosys, TCS,
Is null keyword in java?
What is hashmap and map?
What is the full name of java?
What is string data?
what is j2se