0

can someone correct me? .. there's error which says '{' expected ... iam kinda bewildered and yeah here's my work ...

class firstproject; { public class firstproject { public static void main(String[]args) {System.out.println ("My First Project");}} }

30th Dec 2015, 5:33 AM
Kama
Kama - avatar
3 ответов
0
you cannot declare the class as a definition. you must even develop the definitiob of the class. Delete entirely the dirst declaration of the class
31st Dec 2015, 12:46 PM
Melania Dobre
Melania Dobre - avatar
0
Delete you first line of code!!
9th Jan 2016, 9:14 PM
Rohit Thappa
Rohit Thappa - avatar
0
public class firstproject { public static void main(String[]args) { System.out.println ("My First Project"); } } I think this is what you need.
24th Jan 2016, 6:37 PM
Ahsan Mahmood
Ahsan Mahmood - avatar