Answer Posted / ravikiran
interface is used when we want all the methods implement
the methods differnetly in different situations.
where as an abstract classis used to define abstarct as
well as non abstract methods
| Is This Answer Correct ? | 15 Yes | 9 No |
Post New Answer View All Answers
What is an exception in java?
What are the different data types in java?
Can we convert integer to string in java?
How many ways can you break a singleton class in java?
Is there any difference between synchronized methods and synchronized statements?
What is the use of list in java?
Is a class an object?
describe synchronization in respect to multithreading? : Java thread
Why main method is called first in java?
What are format specifiers in java?
Can we cast any other type to boolean type with type casting?
Difference between Linked list and Queue?
What is string [] java?
How to create a custom exception?
Does apple use java?