CS 1063
Lab 1: An Introduction to Objects and Classes
The FaceMain Class
Objectives
- Type in a simple program in JBuilder and execute it
- Demonstrate you ability to use the System.out.println method
- Demonstrate you ability to use Strings and escape sequences
Hand-in Requirements
All projects and laboratories will be submitted electronically through
webCT. Zip up your entire project directory to submit as the source.
(Right click on the project folder and follow the SentTo link.)
The project directory should include the following:
Details
Write a program that produced the
face below.
| | | | | | | | | | | | | | | |
|
|
|
|
|
|
|
O O |
|
|
_|
|_
|_
_|
|
|_______| |
|
|
|
|
|
|
Setup
- Project/Package Name: facepkg
- Add a new Main
Class with name: FaceMain.
Remember to check the box Generate main method.
- Save all
- Type in your program.
- Run -> right click on the FaceMain
tab and chose run using defaults