CS 55 Java Programming
Week 1
Agenda
Signup sheet for adds
Syllabus
Course website
Roll, seating
Introduction to Java
How to do lab1
How to turn in lab1
References
The Java Tutorial - Getting Started
Introduction to Java Programming: Week 1
- Elliotte Rusty Harold
Introduction to Java Programming: Java Procedural Syntax
- Elliotte Rusty Harold
Lecture Notes - week 1
- lecture notes based on Peter van der Linden's book
Just Java
Lab1
Write a Java application (not an applet) that displays the following information:
CIS and CS classes you have already taken and passed
CIS and CS classes you are currently taking
Why you are taking this course
Comments and/or suggestions
The following is also required:
The classname shall be
Survey
.
You shall turn in the source file (
Survey.java
) only.
The assignment shall be turned in by the start of class one week from when it was assigned.
The assignment shall be turned in as specified in
Lab Assignments
. For this first assignment, you can just turn in a hardcopy/printout.
Don't forget to ask in the Programming Lab (B231) for the JAVA handout. Or, just follow the instructions below:
Using the Java Software Development Kit (SDK) in B231
Start a Command Prompt.
Set the current drive to
C:
and the current folder to
\temp
(or use some other storage device, e.g., a floppy or zip disk).
Use Windows Notepad (or any other text editor) to create your
Survey.java
file.
To set the path environment variable to make the Java SDK tools available, enter
f:\geddes\cs55\jdk.bat
at the command prompt.
To compile your program, enter
javac Survey.java
To run your program, enter
java Survey
<
CS 55
>
Home
Email
Last Modified
September 10, 2004