Advertisement
ADL_Rodrigo_Silva

Untitled

Dec 16th, 2021
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1. package cl.boti;
  2.  
  3. public class MiClandestino {
  4.  
  5.     public static void main(String[] args) {
  6.        
  7.         Botella miBotella = new Botella("Medio Litro", "Baltica");
  8.        
  9.         Cerveza miCervesa = new Cerveza(650);
  10.        
  11.         Botilleria miBoti = new Botilleria(miCervesa,"Clandestino de la Esquina SPA.");
  12.        
  13.         System.out.println(miCervesa.getPrecio());
  14.  
  15.     }
  16.  
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement