cybergraph

interface : shape

Nov 28th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 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 tugasper8;
  7.  
  8. /**
  9. *
  10. * @author Acer
  11. */
  12. public interface shape {
  13. //Method
  14.  
  15. void getArea();
  16.  
  17. void getName();
  18.  
  19.  
  20.  
  21. //Variable konstanta
  22.  
  23.  
  24. int diameterLingkaran=10;
  25.  
  26. String circle = "circle";
  27.  
  28. int luasLingkaran=20;
  29.  
  30. String square = "square";
  31. }
Add Comment
Please, Sign In to add comment