All pastes #731084 Raw Edit

Anonymous

public java v1 · immutable
·published 2007-10-09 19:30 UTC
rendered paste body
public class COURSE {        String name;    int note;    int coefficient;        /** Creates a new instance of COURSE */    public COURSE() {        this.name=new String();    }        public COURSE(String name, int note, int coefficient) {    this.name=name;    this.note=note;    this.coefficient=coefficient;    }        public String getName()    {        return this.name;    }        public int getNote()    {        return this.note;    }        public int getCoefficient()    {        return this.coefficient;    }        public int getCoefficientMNote()    {        return this.coefficient*this.note;    }}