Lecture 2 - Compostion
public class Student
{
private Name fullName;
private String id; // identification number
public Student ()
{
fullName = new Name();
id = "";
} // end default constructor
public Student (Name studentName, String studentId)
{
fullName = studentName;
id = studentId;
} // end constructor
//… more methods
}