Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need some help plz!
#4
Yeah, great spot Vinwarez!

[code2=java]public static void PrintArray(){
System.out.println("-------------------------");
{
System.out.println(i);
}
}[/code2]

Here, when you use the { and }, you are opening and closing a new body... but that is not legal without a body operator such as for, while, if, switch, etc.
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Need some help plz! - by bigbubblewrap - 08-09-2012, 02:50 PM
Re: Need some help plz! - by Vinwarez - 08-10-2012, 04:29 AM
Re: Need some help plz! - by bigbubblewrap - 08-10-2012, 01:22 PM
Re: Need some help plz! - by brandonio21_phpbb3_import2 - 08-10-2012, 01:38 PM
Re: Need some help plz! - by Vinwarez - 08-10-2012, 02:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)