Which of the following is not a wrapper class?

A) String
B) Integer
C) Boolean
D) Character

Showing Answers 1 - 12 of 12 Answers

debabrat panda

  • Sep 25th, 2006

String is not a wrapper class


  • Jul 26th, 2011

Answer should be Character, it's not a data type even, check below examples.

String s=new String(); //compiling
Integer s=new Integer(); //compiling
Boolean s=new Boolean(false); //compiling

Character s=new Character(); // Never Compile.

  Was this answer useful?  Yes

rajkumari patel

  • Dec 26th, 2014


  Was this answer useful?  Yes

Munish Kumar

  • Jan 3rd, 2015

String because string is not a primitive datatype. Only the primitive datatypes has wrapper classes.

  Was this answer useful?  Yes


  • Feb 2nd, 2015


  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.

Answer Question

Click here to Login / Register your free account

Send   Reset


Related Answered Questions


Related Open Questions