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
What is the purpose of methodology?
What is lexicographically smallest string?
What is variable and its types?
What are the access modifiers in java?
Is null false in java?
Explain the scope or life time of class variables or static variables?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is ascii format?
What does next mean in java?
what state does a thread enter when it terminates its processing? : Java thread
Why spring singleton is not thread safe?
What is public/private protected in java?
What is use of set in java?
What is difference between static variable and global variable?
What is the use of System class?