Can you explain the difference b/n abtract and interface
with a good example,?In what cases we have use abtract and
what case interface?
Answer Posted / srihari
Interfaces are used to create prototype of classes. Interfaces would be using high-level access specifiers(public).
Abstraction is a mechanism in Java to expose the essential features of the class. Different levels of abstraction is achieved through Access specifiers.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Difference between vector and arraylist.
What exactly is methodology?
What is a singleton class in Java?
What is an image buffer?
How many bits is a string?
Explain the importance of finalize() method.
What is the purpose of stub and skeleton?
What does this () mean in java?
How to Sort Strings which are given in List and display in ascending order without using java api.
What happens if we override private method?
What is anti pattern in java?
define polymorphism in java
What is lastindexof in java?
What is the exception hierarchy in java?
What is formatted output in java?