You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While döngüsünü kullanma amacımız dışarıdan durdurmak için ya da aramalarda kullanmak içindir. Örneğin kullanıcı 0 girdiğinde durması.
Do while döngüsü ilk başta çalıştırıyor daha sonra koşula bakıyor.
JOptionPane.showInputDialog kullanımı ile c#daki gibi form şeklinde kullanıcıdan sayı alabiliriz.
JOptionPane.showMessageDialog(null,asalsayilar) bu şekilde çıktılarımızı form şeklinde görğntüleyebiliyoruz.
Referans tipte tanımlanmış olan (Integer,String,Float,..) verileri baika bir değişkene eşitlediğimizde ve daha sonra o değişkenin değerini değiştirdiğimde referans tipteki değişkende değişmiş olur