Java Programlama dilinde dizilerin kullanımı ile ilgili örnek..
[pastacode lang=”java” manual=”import%20java.util.Scanner%3B%0A%0Apublic%20class%20Unit6Ex222%20%7B%0A%0A%09public%20static%20void%20main(String%5B%5D%20args)%20%7B%0A%09%09%2F%2F%20TODO%20Auto-generated%20method%20stub%0A%09%09int%20%5B%5D%20ogrNot%3Dnew%20int%5B3%5D%3B%0A%09%09int%20say%3D0%3B%0A%09%09System.out.println(ogrNot.length)%3B%0A%09%09Scanner%20sc%3Dnew%20Scanner(System.in)%3B%0A%09%09for(int%20x%3D0%3Bx%3CogrNot.length%3Bx%2B%2B)%0A%09%09%7B%0A%09%09%09System.out.print(x%2B1%2B%22%20nolu%20%C3%B6%C4%9Frencinin%20notunu%20giriniz..%22)%3B%0A%09%09%09ogrNot%5Bx%5D%3Dsc.nextInt()%3B%0A%09%09%7D%0A%09%09%0A%09%09for(int%20x%3D0%3Bx%3CogrNot.length%3Bx%2B%2B)%0A%09%09%7B%0A%09%09%09if(ogrNot%5Bx%5D%3E64)%0A%09%09%09%7B%0A%09%09%09System.out.println(x%2B1%20%2B%22%20nolu%20%C3%B6%C4%9Frencinin%20notu%20%3A%22%0A%09%09%09%2BogrNot%5Bx%5D)%3B%0A%09%09%09say%2B%2B%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%09System.out.println(%22Notu%2064’ten%20y%C3%BCksek%20%C3%B6%C4%9Frenci%20say%C4%B1s%C4%B1%20%3A%20%22%0A%09%09%2Bsay)%3B%0A%0A%09%7D%0A%0A%7D” message=”Array Example” highlight=”” provider=”manual”/]