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 size_t be negative?
What is arraylist e in java?
What is finalize() function in java?
Why string is not thread safe?
Can a class have multiple constructors?
When should the method invokelater() be used?
What does flagged out mean?
How many digits can a float hold?
Can we convert list to set in java?
What is an array length?
Are registers volatile?
What is class forname used for?
How do you make an arraylist empty in java?
What is jar?
What does java stand for?