Advertisement
Svetlana_Ovsjanikova

Day3_Classes.main

Sep 21st, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 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 day3_classes;
  7.  
  8. /**
  9. *
  10. * @author sao_7
  11. */
  12. public class Day3_Classes {
  13.  
  14. /**
  15. * @param args the command line arguments
  16. */
  17. public static void main(String[] args) {
  18. //Example ex = new Example();
  19.  
  20. //ex.whileExample();
  21.  
  22. //Example.staticExample();
  23.  
  24.  
  25. //tasks.pyramid();
  26. //tasks.pyramid2();
  27. tasks tsk = new tasks();
  28. tsk.setA(5);
  29. tsk.printA();
  30.  
  31. tasks tsk2 = new tasks();
  32. tsk2.printA();
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement