Created
May 26, 2021 13:48
-
-
Save muhomerdogu/9de87a5b71b4c1a2ebc6bdf4553cfa9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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