Quick Index
Person Class


Pseudocode (Almost Code)
We jot the solution up in pseudocode (almost code).

This let's us first see the work in human language to gain understanding of the problem.
Class: Person
Properties:
	firstName (String) -- first name of person
Java Code
We now turn the solution into Java code.

Practice: put this code into a properly named file and make sure it compiles without errors.
public class Person {

	private String firstName;

}


Dog Class


Pseudocode (Almost Code)
We jot the solution up in pseudocode (almost code).

This let's us first see the work in human language to gain understanding of the problem.
Class: Dog
Properties:
	name (String) -- name of the dog
	weight (int) -- weight of the dog
	favoriteFood (String) -- the dog's favorite food
Java Code
We now turn the solution into Java code.

Practice: put this code into a properly named file and make sure it compiles without errors.
public class Dog {

	private String name;
	private int weight;
	private String favoriteFood;

}



Point Class


Pseudocode (Almost Code)
We jot the solution up in pseudocode (almost code).

This let's us first see the work in human language to gain understanding of the problem.
Class: Point
Properties:
	x (int) -- the x value of the point (abscissa)
	y (int) -- the y value of the point (ordinate)
Java Code
We now turn the solution into Java code.

Practice: put this code into a properly named file and make sure it compiles without errors.
public class Point {

	private int x;
	private int y;

}