what is wrapper calss .where can we use wrapper class in java.give me one example?
krovi
0
Newbie Poster
Recommended Answers
Jump to Posta Wrapper class is a class that 'Wraps' a primitive datatype in a (sort-of) equivalent Object type.
for instance:
primitive int -> Wrapperclass Integer.each primitive type has a Wrapper class that allows the user to treat variables of primitive types (or at least, their Wrapped versions) as objects.
where …
All 2 Replies
stultuske
1,116
Posting Maven
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.