SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

Introduction to Java

» Start this Course
(Practice similar questions for free)
Question:

Characters (char)

Author: Christian N



Answer:

For storing individual characters of a text: •Upper and lower case letters, digits, special characters •Value range: 216 possible characters (Unicode) Literal: between ' ' Comparisons (lexicographic): ==, !=, >, <, >=, <= • +, - with whole numbers (»code arithmetic«): 'A' + 1 ➝ (Unicode of A) + 1 ➝ Unicode of B No possibility of input via a Scanner variable


0 / 5  (0 ratings)

1 answer(s) in total