Spring 2011 Lecture 02

Date
January 7, 2011

Topics
Using BlueJ: selecting the Java version
Objects: creating and using
Methods: parameters
Data Types: int and String
Multiple Object Instances
Object (Instance) State
Java Code of Shapes Example

References
Installation
To verify or modify the Java compiler BlueJ uses, double click the program Select VM provided in the BlueJ installation directory
The CD provided with your textbook
Chapters 1 & 2
Chapters 1 & 2 Example Files
Chapter 1.1 - 1.10
Exercises 1.1 - 1.16

Reading
Chapter 1

Exercises
Copy the projects directory from the CD to your computer. Please note, newer operating systems are restricting write permissions to files within your Program Files directory where you most likely installed BlueJ. Create another directory in a different location (outside of Program Files) to store the Java solutions you create, as well as these the textbook examples. Then, right click on the directories/files and unselect Read Only to allow write access to these files.

Re-perform 1.1 - 1.16

Perform 1.17 - 1.25
<<<< Prev     Next >>>>