Driverr - LName = Lowner; } public String getlastName(){...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
public class Driverr { private String FName, LName; private int age, License; public Driverr() { FName= "unassigned"; LName= "unassigned"; age= 0; License = 0; } public void setfirstName(String owner){ FName = owner; } public String getfirstName(){ return FName; } public void setlastName(String Lowner){
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: LName = Lowner; } public String getlastName(){ return LName; } public void setAge(int ages){ age = ages; } public int getAge(){ return age; } public void setLicenseNum(int num){ License = num; } public int getLicenseNum(){ return License; } }...
View Full Document

This note was uploaded on 05/01/2008 for the course ECE 172 taught by Professor Olabe during the Spring '08 term at Christian Brothers.

Page1 / 2

Driverr - LName = Lowner; } public String getlastName(){...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online