SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 tracciaaereomobile;
  7.  
  8. /**
  9.  *
  10.  * @author gioce
  11.  */
  12. public class Aliante extends Aereomobile {
  13.     private final double efficienza;
  14.    
  15.     public Aliante(String codice, double efficienza){
  16.         this.efficienza = efficienza;
  17.     }
  18.  
  19.     public double getEfficienza() {
  20.         return efficienza;
  21.     }
  22.  
  23.     @Override
  24.     public String toString() {
  25.         return super.toString() + "-" + "Tipo=" + "Aliante-Efficienza=" +
  26.                 efficienza;
  27.                
  28.     }
  29.    
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top