It says selection doesnot contain a main type What should i do | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

It says selection doesnot contain a main type What should i do

13th Jan 2017, 12:43 PM
Abishek Poudel
Abishek Poudel - avatar
2 Réponses
+ 1
The entry point for Java programs is the method: public static void main(String[] args) { //Code } If you do not have this, your program will not run.
13th Jan 2017, 2:55 PM
Mitran Constantin Bogdan
Mitran Constantin Bogdan - avatar
0
I tried that it didnt work it still says the same thing is there some other way
13th Jan 2017, 10:12 PM
Abishek Poudel
Abishek Poudel - avatar