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

Give a brief description of java socket programming?

0 Answers  


What is the difference between member variables initialization and assignment in a constructor?

0 Answers   Hexaware, Virtusa,


Explain try and catch keywords in java?

0 Answers  


How multipleInheritance is possible in java?

18 Answers   Satyam,


What is use of static method?

0 Answers  


how to java plateform independent?

5 Answers   TCS,


What is parsing a sentence?

0 Answers  


why string is not taking as primitive datatypes but we r taking it as a class? why explain it?

2 Answers   HP, SparkTG,


How is a variable stored in memory?

0 Answers  


What are peerless components?

0 Answers  


What is the difference between array and arraylist? what is the difference between arraylist and linkedlist?

8 Answers   EDS, Matrix,


Which list is sorted in java?

0 Answers  


Categories