Skip to content

Instantly share code, notes, and snippets.

@muhomerdogu
Created May 26, 2021 13:48
Show Gist options
  • Save muhomerdogu/9de87a5b71b4c1a2ebc6bdf4553cfa9d to your computer and use it in GitHub Desktop.
Save muhomerdogu/9de87a5b71b4c1a2ebc6bdf4553cfa9d to your computer and use it in GitHub Desktop.
package abstractClass;
/*
public class abstract GameCalculator {
//erkek çocuk ve kadınlar için bir hespalama var.
//hemen bu durumda bir Base aklınıza gelecektıir. çünkü heposinde bir hesaplama vardır.
////temel bir yapımız olacaktır.
// public void hesapla(int tip)
// {
//
// System.out.println("Puanınız.:100");
// if(tip==1)
// {
// System.out.println("erkek");
// }
// else if(tip==2){
// System.out.println("...."); //yazarız.
//
// }
// } //yerine biz şimdi dhaa toplu bir sisteme geçelim
/* public abstract void hesapla( )
{
System.out.println("Puanınız.:100");
}
public final void gameOver(){
System.out.println("Game Finish...");
}
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment