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 the use of a copy constructor?
What is unicode with example?
Can two objects have same hashcode?
How long will it take to learn java?
What is the difference between normal report & matrix report?
What is difference between calling start() and run() method of thread?
Can we restart a dead thread in java?
what are different ways in which a thread can enter the waiting state? : Java thread
How many threads does a core java have?
Is hashmap thread safe?
How to Sort Strings which are given in List and display in ascending order without using java api.
What is not object oriented programming?
What is thread synchronization in java?
What is equlas() and hashcode() contract in java? Where does it used?
What is generic class?