Answer Posted / basireddy
interface is used when we want all the methods implement
the methods differnetly in different situations.
Abstract class
We also use abstract classes to override the
abstract methods that it contains.Otherwise the child class
will mentioned as abstract.
Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
why Interface used?
Difference between current previous versions of Java?
What does flagged out mean?
What are the restrictions imposed on method overriding?
What is the default execution method in java?
What do you mean by boolean?
What is difference between fail-fast and fail-safe?
What does isempty () do in java?
What is singleton class in java and how can we make a class singleton?
Which collection is thread safe in java?
Why volatile is used in java?
Explain how can you debug the Java code?
What is a boolean structure?
What is the full name of java?
What are pass by reference and pass by value?