IN java collections we have both interfaces and classes.
instead of using interfaces why we can't use classes only
like that why we can't use interfaces only. why we need two
things interface and class.
Answer Posted / rajesh r
In a word to achieve Polymorphism
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Explain method local inner classes ?
What is unicode in java?
What is java lang string?
What is append function?
Explain about the security aspect of java?
How can we use primitive data types as objects?
Difference between throw and throws?
What is the purpose of extern variable?
Is main an identifier?
What is the meaning of variables in research?
What is an eror in java?
Can we have any code between try and catch blocks?
What is the difference between method overriding and overloading?
What is the difference between form & report?
What are the different tags provided in jstl?