Class 1, Part 2 |
Intro to Java 30-IT-396 |
|
Data Types
-
Java is strongly typed. Every declared variable must have a type.
-
As for objects, just wait until we see interfaces. That's the power
of Java. But we'll talk about that later.
-
Java has eight primitive types. Basically, everything starts with
a primitive.
-
Objects are not primitives, but they are composed of primitives.
-
Many of the primitive types have classes (that can be instantiated into
objects) that complement them.
Numbers without a fraction

Created by: Brandan Jones
December 17, 2001