Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. /**
  2. *
  3. * Beschreibung
  4. *
  5. * @version 1.0 vom 23.09.2019
  6. * @author
  7. */
  8.  
  9. public class Punkt6 {
  10.  
  11. public static void main(String[] args) {
  12.  
  13. private Double x;
  14. private Double y;
  15.  
  16. public void setX(Double x){
  17. this.x = x;
  18.  
  19. }
  20.  
  21. public void setY(Double y){
  22. this.y = y;
  23. }
  24.  
  25. public Double getX(){
  26.  
  27. return x;
  28. }
  29.  
  30. public Double getY(){
  31.  
  32. return y;
  33. }
  34.  
  35.  
  36.  
  37.  
  38. } // end of main
  39.  
  40. } // end of class Punkt6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement