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
How many ways can we create singleton class?
Does every java program need a main?
When the constructor of a class is invoked?
What is super keyword explain with example?
What is use of static method?
What are sets in java?
Why convert an applet to an application?
Can we use catch statement for checked exceptions?
What is slash r?
How do you reverse a word in java?
how to convert Java project into Maven ?
State one difference between a template class and class template.
What are the benefits of operations in java?
Can substring create new object?
What is the generic class?