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
how does multithreading take place on a computer with a single cpu? : Java thread
Who found java?
What is an example of character?
What technique can be employed to compare two strings?
Which class is the superclass for all the classes?
Can you make a constructor final in Java?
How many digits can a float hold?
What is array length?
Can a method inside a interface be declared as final?
Can we write method inside a method in java?
What’s a deadlock?
What is boolean logic?
Why is the singleton pattern considered to be an anti pattern?
What are the supported platforms by java programming language?
Does anyone still use java?