Answer Posted / abc
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 | 5 No |
Post New Answer View All Answers
What are advantages of exception handling in java?
What is java and why do we need it? Explain
What are the two main uses of volatile in Java?
How many bytes is a unicode character?
Which class is used by server applications to obtain a port and listen for client requests?
Can we execute java program without main method?
What is identifier with example?
why doesn't java run on all platforms?
What is time complexity java?
How can I right-justify a string?
Is char a data type in java?
What is the purpose of an interface?
How does arrays sort work in java?
What's the purpose of using break in each case of switch statement?
What initialize variables?