+ 1
How can I import the classes that I created in SoloLearn? (Java)
I'm doing a project on java that uses multiple classes. And I want to know how can I (Or even if do I can) use code of another "code archive" in the compiler. Thx
2 Réponses
+ 6
For non-web codes, the SoloLearn Code Playground only supports using one file.
+ 2
Are you talking about project just in SoloLearn or do you want to take code from SoloLearn and move it to your project on a computer?
In SoloLearn, you can just write new classes in the same file: SoloLearn Java precompiler divides them up into individual files in same package, so they can all access each other.
If you want to move your code from SoloLearn to your computer, log into web app, go to your codes, open the project and copy each class to different files.