Home Tutorialhelp Allcomments Java Java Get Example Java Illegal Startof Expression

 
 

Comments

 
User Comments for the tutorial:

Java error illegal start of type



Advertisement
Comments

i need help as soon as possible!!!!!!!!! please
i am new in java and i am writing a program in java that calculates employees payments but i get illigal start in line 3 here is my program : class WeeklyPay { public static void main(String[] arguments) { public static void pay(do 

problem
public class Testing { int x = 3, p = 5, y = -8; switch(x) { case 2: p++; case 3: case 4: y+=(--p); break; case 5: y+=(p++); } System.out.println(y); } can someone tell me wat is wrong 

Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com