what is difference between abstraction and interface?
Answer Posted / muthusenthil
Abstract class contains one or more unimplemented methods
left for future implementation by its derived class.it has
all property of class it cannot be instantiated.it provides
default behaviour.
Interface is mear specification nothing is implemented its
just a declaration.in java using interface we can model
multiple inheritance. it provides design flexibility.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the length of a string?
What does g mean in regex?
What is the difference between pass by reference and pass by pointer?
What are the main differences between the java platform and other platforms?
What is blank final variable?
What is an accessor?
What is bool mean?
How do you square a number in java?
Why bytecode is called bytecode?
How do I get 64 bit java?
What does %d do in java?
Which variable is the independent variable?
What is the exact difference in between unicast and multicast object? Where we will use?
What is the mapping mechanism used by java to identify IDL language?
Explain about narrowing conversion in java?