Wrapper class. Is String a Wrapper Class

Showing Answers 1 - 2 of 2 Answers

debabrat panda

  • Sep 25th, 2006
 

hi

we use wrapper class to convert the data types(int,char,double) to object type(for int new Integer).So in java String is not a data type.

String is not a wrapper class

  Was this answer useful?  Yes

Vinod Viswanathan

  • Dec 28th, 2006
 

Wrapper Classes correspond to the primitive data types in Java, as String is not a datatype in java, hence it is not a wrapper class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions