Advertisement
gonzalob

Untitled

May 3rd, 2022
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.47 KB | None | 0 0
  1. package domain;
  2.  
  3. public class Vehiculo {
  4.  
  5.     private String patente;
  6.     private String marca;
  7.    
  8.     public Vehiculo() {
  9.         // TODO Auto-generated constructor stub
  10.     }
  11.    
  12.    
  13.    
  14.     /**
  15.      * @param patente
  16.      * @param marca
  17.      */
  18.     public Vehiculo(String patente, String marca) {
  19.         super();
  20.         this.patente = patente;
  21.         this.marca = marca;
  22.     }
  23.  
  24.  
  25.  
  26.     public void setPatente(String patente) {
  27.         this.patente = patente;
  28.     }
  29.    
  30.     public String getPatente() {
  31.         return patente;
  32.     }
  33. }
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement