Laboratory 2

Java Programming Basics

Week of 31 January, 2005



Home | Resources | Homeworks | Slides | Labs | Contacts | Submit | Forums | Private

Note: if you are having password problems, please do a password reset.  Your new password will be e-mailed to your UVa account.  This should correct the problem.

Purpose

This laboratory provides us with our first opportunity to decompose a problem into manageable pieces to solve.

There are two files you will have to submit for this lab: SolvingABC.java and MathFun.java.  Note that most of the "good programming practices" listed on the HW J1 page are not required for this lab, due to the time constraints (it would be great if you put them in, but you don't have to - there is no grade penalty for leaving them out).  The only one that is required is the header, which must include your name and e-mail ID.

Key Concepts

Solving Your A, B, C's

Using Class Methods

Finishing up

Be sure to log out of home directory when you are done.  Also, please delete any files you have saved on the local computer (but obviously don't delete them from your home directory).  Ask your TA if you have any questions about this.

Work on the homework

Use any remaining time to work on homework J1.