0

How to resolve the error: expected class-name before '{' token.

23rd Oct 2019, 12:41 PM
Himanshu baghel
6 Réponses
+ 1
Himanshu baghel Change line no 9 with this.. class STACK:public LIST<T>
23rd Oct 2019, 4:27 PM
A͢J
A͢J - avatar
0
Can you show your code?
23rd Oct 2019, 12:47 PM
A͢J
A͢J - avatar
23rd Oct 2019, 1:07 PM
Himanshu baghel
0
In Java bro 👍 Make sure you declare your class name before the Open Curly brace '{' E.g class program {//open Curly brace }//End Curly brace
23rd Oct 2019, 3:17 PM
Oduola Rasheed Olaide
Oduola Rasheed Olaide - avatar
0
I have already did that...i think you should just go through once to my code.
23rd Oct 2019, 4:00 PM
Himanshu baghel
0
A J thanks buddy i got that
23rd Oct 2019, 5:11 PM
Himanshu baghel