Svetlana_Ovsjanikova

java - Arrays.main

Sep 21st, 2019
103
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 day4_classes2;
  7.  
  8. /**
  9. *
  10. * @author sao_7
  11. */
  12. public class Day4_Classes2 {
  13.  
  14. /**
  15. * @param args the command line arguments
  16. */
  17. public static void main(String[] args) {
  18.  
  19. // Daudzsturi dzs = new Daudzsturi();
  20. // dzs.setMaluSkaits (4);
  21. // dzs.setMalas(2, 3, 5, 0);
  22. // //dzs.setMalas(0, 0, 0);
  23. //
  24. // System.out.println("Perimetrs ir " + dzs.getPerimetrs());
  25. //ArrayTasks.switchPlaces();
  26. ArrayTasks.sumOfElements();
  27. }
  28.  
  29. }
RAW Paste Data