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 |
When should I use a singleton?
What if static is removed from main method?
What is map in java?
Explain about instanceof operator in java?
What is object
Which package is always imported by default?
Explain about class in java?
What does s mean in regex?
What is a file pointer?
what is bytecode ?explain in detail and watz the difference between bytecode and machine code?
What are nested classes in java?
Why main function is static?