Nesne Tabanlı Programlama (Güz-2016) Hafta-12
interface sayigir { public int sayigetir(String str); } abstract class soyut{ public abstract boolean hesapla(int sayi); public void islem(int a,
Okumaya devam etinterface sayigir { public int sayigetir(String str); } abstract class soyut{ public abstract boolean hesapla(int sayi); public void islem(int a,
Okumaya devam etpublic abstract class ogrenci{ String[] harfler={“AA”,”BA”,”BB”,”CB”,”CC”,”DC”,”DD”,”FD”}; int[] sinirlar={90,80,70,60,50,40,35,30}; abstract int ortalamahesap(); /*int ortalamahesap() { return (int) (vizenot*0.4+finalnot*0.6 + 0.5); }*/
Okumaya devam etusing System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO;
Okumaya devam et
Son yorumlar