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 is difference between array and arraylist in java?
Where is java located?
Can we start a thread twice in java?
Why singleton pattern is better than creating singleton class with static instance?
What is meant by the value of a variable?
What is a for loop in java?
How do you initialize an arraylist in java?
What is the ==?
Give few examples of final classes defined in Java API?
What are filterstreams?
Is main a function?
What is java jit compilers?
What are the advantages of exception handling?
What is illegal identifier in java?
What is hashset in java?