[Bluej-discuss] Excercise 1.17

Daniel Farmer, Esq. danfarmer at hotmail.com
Fri Sep 7 16:19:02 BST 2007


Ok I load the lab-classes project ( I started excercise 1.17 ) and get 
errors on compiling it.

It gives me an error on the following line ( SEE BELOW ) in the LabClass 
class...

ANY IDEA HOW TO FIX? or is there an updated file?


import java.util.*;

/**
* The LabClass class represents an enrolment list for one lab class. It 
stores
* the time, room and participants of the lab, as well as the instructor's 
name.
*
* @author Michael Kolling and David Barnes
* @version 2006.03.30
*/
public class LabClass
{
    private String instructor;
    private String room;
    private String timeAndDay;
    private List <Student> students;     // ERROR HIGHLIGHTED HERE 
<IDENTIFIER> EXPECTED
    private int capacity;

_________________________________________________________________
Enter to win a night a VIP night out at TIFF 
http://redcarpet.sympatico.msn.ca/



More information about the bluej-discuss mailing list