Advertisement
ADL_Rodrigo_Silva

Untitled

Dec 16th, 2021
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. package cl.boti;
  2.  
  3. public class Botella {
  4.    
  5.     private String tipoBotella;
  6.     private String marca;
  7.    
  8.     public Botella(String tipoBotella, String marca) {
  9.         this.tipoBotella = tipoBotella;
  10.         this.marca = marca;
  11.     }
  12.    
  13.     public Botella() {
  14.        
  15.     }
  16.    
  17.     public String getTipoBotella() {
  18.         return tipoBotella;
  19.     }
  20.     public void setTipoBotella(String tipoBotella) {
  21.         this.tipoBotella = tipoBotella;
  22.     }
  23.     public String getMarca() {
  24.         return marca;
  25.     }
  26.     public void setMarca(String marca) {
  27.         this.marca = marca;
  28.     }
  29.    
  30.    
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement