SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

4IT101 - ZT

» Start this Course
(Practice similar questions for free)
Question:

Deklarujete metodu, která má jako parametr pole řetězců: public void metoda(String [ ] pole) ● for (int i= 1; i++ ; i<= pole.length) {System.out.println(pole[i]);} ● for (int i= 0; i< pole.length; i++ ) {System.out.println(pole[i]); ● for (int i= 1; i<= pole.length; i++) {System.out.println(pole[i]);} ● for (String polozka : pole) {System.out.println(polozka);} ● for (int i= 0; i< pole.length; i+1 ) {System.out.println(pole[i]);

Author: Karel Marčík



Answer:

● for (int i= 0; i< pole.length; i++ ) {System.out.println(pole[i]); ● for (String polozka : pole){System.out.println(polozka);}


0 / 5  (0 ratings)

1 answer(s) in total