home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 October / PCO1097.ISO / FilesBBS / FREI / DIGSIM.EXE / Example.class (.txt) < prev    next >
Encoding:
Java Class File  |  1996-05-21  |  625 b   |  24 lines

  1. class Example {
  2.    protected String Type;
  3.    protected String Description;
  4.    protected String Location;
  5.  
  6.    public Example(String var1, String var2, String var3) {
  7.       this.Type = var1;
  8.       this.Description = var2;
  9.       this.Location = var3;
  10.    }
  11.  
  12.    public String getType() {
  13.       return this.Type;
  14.    }
  15.  
  16.    public String getDescription() {
  17.       return this.Description;
  18.    }
  19.  
  20.    public String getLocation() {
  21.       return this.Location;
  22.    }
  23. }
  24.