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
When parseint method can be used?
What is a singleton in genetics?
What is t type java?
Is vector thread safe in java?
What is the default access specifier for variables and methods of a class?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
What is public/private protected in java?
How do you sort a string in java?
What are the differences between abstract class and interface?
Is an integer an object?
What is anti pattern in programming?
What is the use of a copy constructor?
Can you instantiate the math class?
What is pangram in java?
What is a dot notation?