import java.util.Scanner; import java.util.concurrent.TimeUnit; public class Main { public static void main(String[] args) throws InterruptedException { for (int i = 1; i<=5;) { System.out.println(i); i++; } int a = 0; while (a <= 5) { System.out.println(a); a++; } String[] liste = {"A","B","bu for ne la böyle pythonda sadece bu amaçla kullanıyordum"}; for (String hebele : liste) { System.out.println(hebele); } /* Scanner scanner = new Scanner(System.in); int e = 1; for (int f = scanner.nextInt(); f > 0;) { e = e * f; f = f - 1; } System.out.println(e); */ //System.out.println(f); int g = 0; do { g ++; System.out.println(g); } while (g < 10); int deger = 0; int sayi = 1337; while (sayi > 0) { deger += sayi % 10; sayi = sayi / 10; } System.out.println(deger); while (true) { break; } //TimeUnit.SECONDS.sleep(3); //Runtime.getRuntime().wait(3000); System.out.println(System.getProperty("os.name")); System.out.println(System.getenv().get("WAYLAND_DISPLAY")); String m = "b"; String j = null; } }