switch case program in java shows illegal start of type in this program . please guide . here the program - public class p1 { public void menu() { System.out.println("1.area of a rectangle"); System.out.println("2.Area of a square"); System.out.println("3.Area of a circle"); } public void accept(int l,int b,int s); double a; switch(ch) { case 1: a=l*b; System.out.println("area of the rectangle "); case 2 : a=l*l; System.out.println("area of the squre "); case 3 : a=22/7*r*r; System.out.println("area of the circle "); default: System.out.println("wrong choice"); } }