aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • core java programming
  • Default value of char is
Multiple choice

Default value of char is

  1. 0

  2. false

  3. null

  4. u0000

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Default value of char variable is 'u0000'.

Keep practicing — related questions

  • The default value of char (Primitive Type) is
  • If not assigned a value, a variable of type char has the following default value:
  • NULL character is
  • A NULL value is treated as a blank or 0.
  • Which are the default value for the Primitives and Reference Types ?
  • Oracle treats zero-length character strings as nulls.
  • After the declaration: char[] c = new char[100]; what is the value of c[50]?
  • Which character represents the ASCII value 0?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy