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
What is a superclass?
What is not object oriented programming?
What is the intersection and union methods?
What is instance means in java?
Who developed java?
What are the access modifiers in java?
What is hash code collision?
Explain a situation where finally block will not be executed?
What are the features of java?
What is the difference between the paint() and repaint() methods in java programming?
Can I extend singleton class in java?
Can you declare an interface method static?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Differentiate between a constructor and a method? Can we mark constructors final?
What is operator overloading. Is it is supported in java?