Advertisement
Dido09

Company

Nov 1st, 2022 (edited)
1,027
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.68 KB | None | 0 0
  1. package AgainstTheOdds;
  2.  
  3. public class Company {
  4.  
  5.     private String name;
  6.     private String date;
  7.     private String code;
  8.  
  9.     public Company(String name, String date, String code) {
  10.         this.name = name;
  11.         this.date = date;
  12.         this.code = code;
  13.     }
  14.  
  15.     public String getDate() {
  16.         return date;
  17.     }
  18.  
  19.     public void setDate(String date) {
  20.         this.date = date;
  21.     }
  22.  
  23.     public String getCode() {
  24.         return code;
  25.     }
  26.  
  27.     public void setCode(String code) {
  28.         this.code = code;
  29.     }
  30.  
  31.     public void setName(String name) {
  32.         this.name = name;
  33.     }
  34.  
  35.     public String getName() {
  36.         return name;
  37.     }
  38.  
  39. }
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement