forgive me but i have so many questions.. to avoid confusing,i will state it numerically.
1.) why are the enums in these switch programs declared as public, not private? is the logic in constant...
Type: Posts; User: chronoz13
forgive me but i have so many questions.. to avoid confusing,i will state it numerically.
1.) why are the enums in these switch programs declared as public, not private? is the logic in constant...
so i was ryt what im looking for was posted in some of the threads here.. i just coudlnt find it .. i was looking at the tutorials but i didnt find it... haha i forgot that it was sir json's post...
oh men.... i didnt notice it sir Java... anyway big thanks to you!!
weee tnx for all your help!! yehey! :-*
oh no! i forgot to ask how to make an input for it... big sorry for this..:eek:
there an error here... cant figure it out..
public class SomeClass
{
public static enum Days {SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY}
public static void...
YAH its exactly like that!!!! tnx helloworld
no chris.. i saw something like that in switch statement and some of the variables were enum.. i dont remember exactly the code.. but i think this is where i saw that code..
if im not mistaken , i saw a post in this forum that shows how to make a switch statement using char
and i saw some of the parts of the program was declared as enum..
the cases inside the swithc...