0
Can anyone help me out with this ?
"Main redeclared in this block" This error always comes up when I save a program in visual studio code. Can anyone help me with this ? I'm not able to run another program since one program with the main function is already stored on the same folder.
1 Réponse
+ 1
Riya Patel , hi. Because there can be only one main function in a package. Create another separate package for one file with main function. That's the solution.