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

Why is a string immutable?

0 Answers  


diff. b/w JAVA and javascript...

3 Answers   NIIT,


Explain about the main() method in java?

0 Answers  


What is method Overloading in the perspective of OOPS?

6 Answers  


How do you sort objects in java?

0 Answers  






What does a void function return?

0 Answers  


What are Inner classes?

4 Answers  


Which language is java?

0 Answers  


I/O blocking means?

1 Answers  


What is the difference between Integer and int?

10 Answers   Infosys,


Does java trim remove newline?

0 Answers  


What is an example of procedure?

0 Answers  


Categories