0
How can i create a new class in the Sololearn code playground?
3 Answers
+ 6
If you are talking about creating classes as different files, separate from your main source code, that is not possible on Code Playground. Your classes and main function has to be within the same code here.
+ 3
You can declare multiple classes inside one java file. Be aware, that only one public class can exist in each file. Or you can declare inner class inside existing one.
https://code.sololearn.com/cYA3cG4W0iaX/?ref=app