On this page:
Intro
1 More Data Definitions in Java
2 Submit
6.12

Lab 5: More Data Definitions in Java

Intro

You’ll work in this lab with an ad-hoc partner. Help each other get up and running with IntelliJ and Java (Lab 4: Same Story, More Syntax) if you haven’t already. The two of you will work as a team to solve problems. At any time, one of you will be the Head and the other will be the Hands. The Head does the thinking and the Hands does the typing. Hands type only what the Head tells them to, but you’re free to discuss any issues that pop up. We’ll have you switch off during the lab to make sure each of you get practice problem solving, dealing with syntax, and getting finger exercises on the keyboard.

1 More Data Definitions in Java

The goal for today’s lab is to do more finger exercises to gain familiarity with designing classes in Java.

If you haven’t finished Lab 4: Same Story, More Syntax, please do so first.

Next, move on to formulating your solution to Lab 2: More Data Definitions in Java.

You should translate tests to Java comments for now; we’ll practice with the testing framework next week.

2 Submit

Submit any Java files that contain your work from today’s lab. (If you had already finished Lab 4: Same Story, More Syntax, you do not need to submit it again, but if you worked on it again today, please submit that work too.)