What isan abstract class and when do you use it?
Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
How do you join strings in java?
State the difference between creating string as new () and literal.
How do you classify Dialog Box?
What is polymorphism in java? What are the kinds of polymorphism?
What does %d do in java?
Explain super keyword in java.
How many bytes are there?
Is class forname reflection?
Can a java program have 2 main methods?
What is a "pure virtual" member function?
Why do we need strings in java?
What is the difference between array list and vector in java?
Where and how can you use a private constructor?
what is meant by HQL?
What are the types of collections in java?