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
Do I need java on my pc?
Why is String immutable?
What is the equal sign?
What is classes in java?
java program with complete 4 oops concepts implemented example
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
Explain the importance of import keyword in java?
How to sort a collection of custom Objects in Java?
Where pragma is used?
Can we sort list in java?
Can you call a method in a method?
Can a class be a super class and a sub-class at the same time? Give example.
How many bits are in a sentence?
what is predefined function in java?
Why is it important to initialize a variable?