What is Wrapper class. Is String a Wrapper Class?

What is Wrapper class. Is String a Wrapper Class?

Wrapper classes are used to \"wrap\" the primitives data types into objects so that they can be included in the activities which are reseved for the objects. 

 Yes! String class is a wrapper class, it wraps the string literals to an object.


By:Jalees
Date:2014-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher