Class Salesperson

java.lang.Object
  extended by Salesperson

public class Salesperson
extends java.lang.Object


Field Summary
private  int myCars
           
private  java.lang.String myName
           
private  int myTrucks
           
 
Constructor Summary
Salesperson()
           
Salesperson(Salesperson arg)
           
Salesperson(java.lang.String x, int y, int z)
           
 
Method Summary
 int getCars()
           
 java.lang.String getName()
           
 int getTrucks()
           
 void setCars(int x)
           
 void setName(java.lang.String x)
           
 void setTrucks(int x)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

myName

private java.lang.String myName

myCars

private int myCars

myTrucks

private int myTrucks
Constructor Detail

Salesperson

public Salesperson()

Salesperson

public Salesperson(java.lang.String x,
                   int y,
                   int z)

Salesperson

public Salesperson(Salesperson arg)
Method Detail

getName

public java.lang.String getName()

getCars

public int getCars()

getTrucks

public int getTrucks()

setName

public void setName(java.lang.String x)

setCars

public void setCars(int x)

setTrucks

public void setTrucks(int x)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object