@aponicaftermat You did not end your curly braces. }}}
TheLibertySentinel 1 year ago
Thanks a lot ... Learned a lot ... Appreciate if you could post more videos ...
vignesh0361 3 years ago
Aponicaftermat 3 years ago
public class switchf {
public static void main(String[] args){
int day = 6;
switch(day){
case 1: System.out.println('sunday');
break;
case 2: System.out.println('mon');
case 3: System.out.println('tue');
@Aponicaftermat I believe these strings need to have double quotes around them, not single quotes.
GWShane 4 months ago
Here is my code but I keep getting a launch error editor does not contain a main type, what is my problem here?
Thnks! I learned more from this than i did in my computer science class.
btw, how do you get your jcreator (if that's what it is) to have that different look to it?
is it a skin?
RikKkay 3 years ago
@RikKkay No prob man! Glad it helped. I'm actually just using eclipse classic.
@aponicaftermat You did not end your curly braces. }}}
TheLibertySentinel 1 year ago
Thanks a lot ... Learned a lot ... Appreciate if you could post more videos ...
vignesh0361 3 years ago
Aponicaftermat 3 years ago
public class switchf {
public static void main(String[] args){
int day = 6;
switch(day){
case 1: System.out.println('sunday');
break;
case 2: System.out.println('mon');
break;
case 3: System.out.println('tue');
break;
Aponicaftermat 3 years ago
@Aponicaftermat I believe these strings need to have double quotes around them, not single quotes.
GWShane 4 months ago
Here is my code but I keep getting a launch error editor does not contain a main type, what is my problem here?
Aponicaftermat 3 years ago
Thnks! I learned more from this than i did in my computer science class.
btw, how do you get your jcreator (if that's what it is) to have that different look to it?
is it a skin?
RikKkay 3 years ago
@RikKkay No prob man! Glad it helped. I'm actually just using eclipse classic.
GWShane 4 months ago