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 final int?
how to convert Java project into Maven ?
Why string is immutable or final in java
Can we sort arraylist in java?
How do I stop concurrentmodificationexception?
How do I know if java is installed?
Why does abstract class have constructor?
Explain about java sdk?
What is a module function?
What is constructor chaining and how is it achieved in java?
Differences between traditional programming language and object oriented programming language?
What is Session reduplication and how its done?
What is a numeric literal?
How does varargs work in java?
What string is utf8?