Created
October 13, 2019 18:10
-
-
Save ebinjoy999/b6d013be06e471180cb417698a354be3 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
public class FriedRice { | |
public static final int VEG_FRIED_RICE = 100; | |
public static final int CHICKEN_FRIED_RICE =101; | |
private String out = ""; | |
public FriedRice(int TYPE){ | |
switch (TYPE){ | |
case VEG_FRIED_RICE: out = "VEG FRIED RICE @ plate"; break; | |
case CHICKEN_FRIED_RICE: out = "CHICKEN FRIED RICE @ plate"; break; | |
} | |
} | |
public String getFriedRice(){ | |
return this.out; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment