what is difference between abstraction and interface?
Answer Posted / chandra rekha
A class becomes an abstract class when it has atleast one
abstract method(a method with no definition).The major
difference between abstract classes and interfaces is that
an abstract class can contain both methods with zero
definition as well as methods with definition.But an
interface is one in which all the methods are with no
definition.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the different types of inheritance in java?
In a container there are 5 components. I want to display the all the components names, how will you do that one?
What is the private method modifier?
What is Gang of four design patterns
What is the size of string?
What is supplier in java?
Give us a program to check for parenthesis matching using stack.
write a program that list all permutations of ABCDEF in which A appears before B?
How many bits is a string in java?
What is difference between arraylist and list in java?
What are the Static and Dynamic Variables? Differentiate them.
What is the difference between a checked and an unchecked exception?
What are variable names?
How do I get the | symbol on my keyboard?
What do you mean by access modifier?