Values and Data Types - ICSE Class 9 Computer Applications Notes, Diagrams and Solved Questions

Character sets, ASCII and Unicode, escape sequences, tokens, literals, primitive data types and type conversion.

In this chapter

  • Java's character set, ASCII codes and Unicode
  • Escape sequences for a new line, a tab, a backslash and quotes
  • Tokens: keywords, identifiers, literals, punctuators and operators
  • Literals, variables and constants (final)
  • The eight primitive data types and their sizes
  • Non-primitive (reference) types: String, arrays and classes
  • Implicit (widening) and explicit (casting) type conversion