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
Can we declare a class as static?
what is mena by object block any what is the use of that
How do I print a “?
What are the loops in java?
Explain the pointers in Java?
Explain the advantages of packages in java?
What is a substring of a string?
What is adapter in java?
What is difference between array and arraylist in java?
What is sizeof in java?
What are exceptions
When will we use them?
What is an example of a keyword?
What is logical variable?
What is java util hashmap?