+ 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

13th Sep 2020, 3:24 AM
Atlacatl Q
Atlacatl Q - avatar
2 ответов
+ 6
For non-web codes, the SoloLearn Code Playground only supports using one file.
13th Sep 2020, 3:25 AM
Rowsej
Rowsej - avatar
+ 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.
13th Sep 2020, 4:21 AM
BlazingMagpie
BlazingMagpie - avatar