Which of the following is not a wrapper class?

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

Showing Answers 1 - 40 of 40 Answers

debabrat panda

  • Sep 25th, 2006
 

String is not a wrapper class

Manjula

  • 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
 

boolean

  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

Ancia

  • Feb 2nd, 2015
 

String

  Was this answer useful?  Yes

nandhini

  • Jul 18th, 2016
 

A)String

  Was this answer useful?  Yes

Radhika

  • Jul 18th, 2016
 

String is not a wrapper class because there is no corresponding primitive type.

  Was this answer useful?  Yes

vasanthi

  • Jul 22nd, 2016
 

A) String

  Was this answer useful?  Yes

paranthaman

  • Aug 18th, 2016
 

A)String

  Was this answer useful?  Yes

Shubham Patel

  • Sep 28th, 2020
 

Integer

  Was this answer useful?  Yes

Andy

  • Dec 16th, 2021
 

A) String

  Was this answer useful?  Yes

Gourav Sharma

  • Apr 28th, 2023
 

string

  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