UNIVERSITY AT BUFFALO, THE STATE UNIVERSITY OF NEW YORK
The Department of Computer Science & Engineering
STUART C. SHAPIRO
: CSE 115 C
CSE 115
Introduction To Computer Science for Majors I
Lecture C
Lecture Notes #7
Stuart C. Shapiro
Spring, 2007
Declaring variables with types
Java is a strongly typed language---the compiler requires that the type of every variable be declared.
A class is a type.
There are other types.
Copyright © 2007 by Stuart C. Shapiro. All rights reserved.
Last modified: Mon Sep 24 14:35:54 EDT 2007
Stuart C. Shapiro
<
shapiro@cse.buffalo.edu
>