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 ascii code?
What are use cases?
What is thread pool in java with example?
What is your platform?s default character encoding and how to know this?
What do you mean by jjs in java8?
What is a constructor overloading in java?
Do I need java for windows 10?
What are the difference between string, string builder, and string buffer in java?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What are the differences between forwarding () method and sendredirect() methods?
What is broken and continue statement?
How do you define a variable?
Why webdriver is an interface?
Which language is java?
What is parse method?