Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


what is the default value of a variable char?(If not
assigned)

Answers were Sorted based on User's Feedback



what is the default value of a variable char?(If not assigned)..

Answer / sarathchandra kotharu

\u000’ (or) a space

Is This Answer Correct ?    13 Yes 3 No

what is the default value of a variable char?(If not assigned)..

Answer / jai

When you try to print uninitialized char, you get the
compile time error.

"variable *** might not have been initialized" ERROR

Is This Answer Correct ?    9 Yes 3 No

what is the default value of a variable char?(If not assigned)..

Answer / ravi

default value of char is:\u0000

Is This Answer Correct ?    2 Yes 0 No

what is the default value of a variable char?(If not assigned)..

Answer / divya

The default value of variable char is '0'

Is This Answer Correct ?    4 Yes 14 No

Post New Answer



More Core Java Interview Questions

What is an object in java?

0 Answers  


Which class should you use to obtain design information about an object in java programming?

0 Answers  


What is a lightweight component?

0 Answers  


Is set ordered?

0 Answers  


Can memory leak in java?

0 Answers  






What is the use of anonymous inner classes ?

12 Answers   DELL, HCL,


Is math an abstract class in java?

0 Answers  


explain the collection in java

1 Answers   WDC,


What is import java util arraylist?

0 Answers  


Why do we need to override equals() and hascode() method of object class?

1 Answers   Cognizant,


how to one war file class to another war file class?

0 Answers  


Do I need to import java.lang package any time? Why?

0 Answers  






Categories