Answer Posted / rakesh
It is sometimes easier to deal with primitives as objects.
Moreover most of the collection classes store objects and
not primitive data types. And also the wrapper classes
provide many utility methods also. Because of these resons
we need wrapper classes. And since we create instances of
these classes we can store them in any of the collection
classes and pass them around as a collection. Also we can
pass them around as method parameters where a method expects
an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is special character in java?
What is the Concept of Encapsulation in OOPS
what is the purpose of "virtual"?
What is the difference between serial and throughput garbage collector?
What is appletviewer?
What is the base class of all exception classes?
What are peerless components?
What is bubble sorting in java?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Why put method is used?
Why is a constant variable important?
Tell me the latest versions in java related areas?
Can we overload the main() method?
What is a 16 bit word?
What is a wrapper method?