when,where and how to use abstract class and interface
Answer Posted / vinaykumar
If you want to provide your own services for methods we
use interfaces.If you want to provide your own services or
to use the services of the methods in your class then wego
for abstract classes.abstract class is partially implemented
and partially unimplemented class where as interface is
completely unimplemented.both of the objects can not be
created.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is java console application?
how to create constants in java?
What are the limitations of procedural programming approach?
What is the maximum size of arraylist in java?
What is the use of using enum to declare a constant?
When is the finalize() called? What is the purpose of finalization?
Can we override private method in java?
What are the important features of Java 10 release?
What is a bubble sort in java?
What is multi level inheritance in java?
What does s mean in regex?
What is the difference between public, private, protected, and friend access?
Why is it called boolean?
What are different type of exceptions in java?
What are the 6 mandatory procedures for iso 9001?