Added: 3 years ago
From: GWShane
Views: 3,904
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @aponicaftermat You did not end your curly braces. }}}

  • Thanks a lot ... Learned a lot ... Appreciate if you could post more videos ...

  • case 4: System.out.println('wed'); break; case 5: System.out.println('thur'); break; case 6: System.out.println('FRI'); break; case 7: System.out.println('sat'); break; } } }
  • 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 I believe these strings need to have double quotes around them, not single quotes.

  • 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 No prob man! Glad it helped. I'm actually just using eclipse classic.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more