Java: Char Data Type

Instructions:

Choose an answer and hit 'next'. You will receive your score and answers at the end.

question 1 of 3

A Java char is _____ bits in size.

Create Your Account To Take This Quiz

As a member, you'll also get unlimited access to over 79,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Try it risk-free
Try it risk-free for 30 days. Cancel anytime
Already registered? Log in here for access

1. The char data type is most closely related to the _____ data type

2. Consider the following code. What will the value of newChar be if displayed on the screen?

Create your account to access this entire worksheet
A Premium account gives you access to all lesson, practice exams, quizzes & worksheets
Access to all video lessons
Quizzes, practice exams & worksheets
Certificate of Completion
Access to instructors
Create an account to get started Create Account

About This Quiz & Worksheet

The quiz and worksheet help test your knowledge of the different char data types. Java char and char data types are covered on the quiz.

Quiz & Worksheet Goals

You will be tested over the following data topics:

  • Examples of codes that work and don't work
  • What happens when you declare a char variable and assign a numeric value to it
  • What a Java char is
  • Char data types

Skills Practiced

  • Reading comprehension - ensure that you draw the most important information from the lesson on chars in Java
  • Interpreting information - verify that you can read information about the different char data types and interpret them correctly
  • Information recall - access the knowledge you have about codes that work and don't work

Additional Learning

Java: Char Data Type is a lesson that is useful in helping you review more topics, including:

  • What char refers to
  • Examples of char variables
  • How Java can display different characters in human language
Support