what is difference between abstract and interface?
can i give real time example for the two topics?
Answer Posted / richa
abstract class can have some concrete methods and abstract
methods too.abstract class can use accessibility modifier
in abstract class.
but in interface all the method are abstract.In interface
no accessibility modifier is allowed by default it takes
public access modifier.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is static data type in java?
What is Recursion Function?
explain different ways of using thread? : Java thread
What is the difference between multiple processes and multiple threads?
What java is used for?
Can a private method be declared as static?
What is a null point?
Why is the type for real numbers called double?
Can an abstract class be a final class?
What does next mean in java?
Why do we need strings in java?
Where is singleton pattern used?
why java uses class level type casting ?
What checkbox method allows you to tell if a checkbox is checked?
Is array a class in java?