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 the purpose of an interface?
Is the milky way in a void?
What is meant by 'Class access modifiers'?
What are basic data types?
What is bifunction in java?
What is command line argument in java?
Why we override equals() method?
What about static nested classes in java?
Explain the usage of this with constructors?
Why can't we override private static methods?
What are streams?
Write a program to reverse a number in java?
What are variable arguments or varargs?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is use of a abstract variable?