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

Explain jdk, jre and jvm?

0 Answers  


Explain about instanceof operator in java?

0 Answers  


Why set is used in java?

0 Answers  


What does java ide mean?

0 Answers  


What about instanceof operator in java?

0 Answers  






What is singleton class in java and how can we make a class singleton?

0 Answers  


Which oo concept is achieved by using overloading and overriding?

0 Answers  


What are the parts of a method?

0 Answers  


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

0 Answers   Bravura Solutions,


How is hashset defined in java?

0 Answers  


Explain about map interface in java?

0 Answers  


Is jdk required on each machine to run a java program?

0 Answers  


Categories