when to use abstract class and when to use interface?
Answer Posted / devarathnam c,kotagudibanda(po
Hi...
When u want to inherit the properties of base class only
(not other resources) go for Abstract class.
When u want to inherit the properties of base class and
other resources go for Interfaces .
| Is This Answer Correct ? | 42 Yes | 34 No |
Post New Answer View All Answers
What is nextline method in java?
What is the difference between the size and capacity of a vector?
What the difference is between execute, execute Query, execute Update?
can rmi and corba based applications interact ?
Explain about fail fast iterators in java?
You're given a Boolean 2D matrix, can you find the number of islands?
How to create a thread in java?
Can singleton class be serialized?
What is array initialization in java?
Explain reverse a linked list recursive java solution?
What methods are used to get and set the text label displayed by a button object?
Why do we need variables?
What is a instance variable?
Why javac is not recognized?
Why java is said to be pass-by-value ?