Advertisement
exnon

Messung

Oct 23rd, 2019
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1. import java.time.LocalDateTime;
  2.  
  3. public class Messung {
  4.     double wert;
  5.     LocalDateTime zeit;
  6.     public Messung (double _wert, LocalDateTime _zeit){
  7.         zeit = _zeit;
  8.         wert = _wert;
  9.     }
  10.     public LocalDateTime getZeit(){
  11.  
  12.         return zeit;
  13.     }
  14.     public double getWert(){
  15.         return wert;
  16.     }
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement