Top
Previous Next
Java Arrays, Objects, Methods CS 161 - Java

Last Week

The Java Language:

The syntax and constructs for writing Java code

The Java Platform

Java Program (application, applet, servlet) bytecode
Java Application Programming Interface (standard packages; also bytecode)
Java Virtual Machine (executes bytecode)
Hardware, e.g., your PC, OSF1, workstations, rings, ...

Primitive Data Types

  • byte
  • short
  • int
  • long

  • double
  • float

  • char
  • boolean

String is a built-in Object type, not a Primitive

User Defined Objects

Creating and initializing instances of classes
Top
Previous Next
jwd