Şimdi Ara

silinebilir

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
3
Cevap
0
Favori
369
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Kaldırılabilir



    < Bu mesaj bu kişi tarafından değiştirildi emreyuksel7 -- 24 Aralık 2014; 23:59:19 >



  • emreyuksel7 E kullanıcısına yanıt
    import java.io.IOException;

    public class Test3 {

    public static void main(String[] args) {
    hesapla();

    }

    private static void hesapla() {
    cokHesapla();
    }

    private static void cokHesapla(){
    try {
    throw new IOException();
    } catch (IOException e) {
    e.printStackTrace();
    }
    }

    }
  • import java.io.IOException;

    public class Test4 {

    public static void main(String[] args) throws IOException {
    hesapla();

    }

    private static void hesapla() throws IOException {
    cokHesapla();
    }

    private static void cokHesapla() throws IOException {
    throw new IOException();
    }

    }
    -----------------------------------------------------------------------------------
    import java.io.IOException;

    public class Test4 {

    public static void main(String[] args) throws IOException {
    hesapla();

    }

    private static void hesapla() throws IOException {
    cokHesapla();
    }

    private static void cokHesapla() throws IOException {
    throw new IOException();
    }

    }
    -----------------------------------------------------------------------------------------------
    import java.io.IOException;

    public class Test5 {

    public static void main(String[] args) {
    hesapla();

    }

    private static void hesapla() {
    try {
    cokHesapla();
    } catch (IOException e) {
    e.printStackTrace();
    }
    }

    private static void cokHesapla() throws IOException {
    throw new IOException();
    }

    }




  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.