Kirabo

zirafagui

Jan 24th, 2017
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.56 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package prophet;
  7.  
  8. /**
  9.  *
  10.  * @author Vanja
  11.  */
  12. public class Zirafa {
  13.     String brojNogu;
  14.     String gorivo;
  15.     String lep;
  16.    
  17.     Zirafa(String broj, String gorivo, String lep){
  18.         this.brojNogu = broj;
  19.         this.gorivo = gorivo;
  20.         this.lep = lep;
  21.     }
  22.    
  23.     public String stampaj(){
  24.         return brojNogu + "/" + gorivo + "/" + lep;
  25.     }
  26. }
Add Comment
Please, Sign In to add comment