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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting algorithm is in place?

531


Explain what is encapsulation?

594


Where can I find jdk in my computer?

457


Explain when we should make an instance variable private.

599


how to create multithreaded program? Explain different ways of using thread? : Java thread

523






What is threaded programming and when is it used? : Java thread

524


Is integer passed by reference in java?

554


What is the public field modifier?

536


Does java set allow duplicates?

517


Which number is denoted by leading 0x or 0x in java?

551


What is number data type?

526


What is the purpose of object oriented programming?

526


What is stack class in java?

534


How do you create a reference in java?

506


what is the purpose of "virtual"?

560