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

What is the purpose of the system class in java?

558


What is collections framework?

582


Is special character in java?

616


What exactly is java?

519


what is the difference between the methods sleep() and wait()? : Java thread

517






Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

609


what is inner class in java?

628


How does map works in java?

524


What things should be kept in mind while creating your own exceptions in java?

636


What is a list in java?

513


What is java life cycle?

541


What is the loop in java?

578


Explain method local inner classes ?

597


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

547


How do you check if a string is lexicographically in java?

503