+ 3

Java program with multiple classes

Is it possible to create a program with multiple java classes in Sololearn playground?

22nd Jan 2018, 12:23 PM
ifl
ifl - avatar
6 Answers
+ 8
i think yes , by using package
22nd Jan 2018, 12:48 PM
Youssef Ouamou
Youssef Ouamou - avatar
+ 4
Yep, it's possible
22nd Jan 2018, 12:44 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 1
@Martin Taylor. Yes thanks, that answers my question I think: so, since in the playground there is only one file, there can be only one of my/our own (non-inner) public class. ok.:-)
22nd Jan 2018, 1:12 PM
ifl
ifl - avatar
0
Cool. is there an example or guidance somewhere that can be looked at? right now I don't get how we can mimick having multiple files...
22nd Jan 2018, 12:52 PM
ifl
ifl - avatar
0
Problem solved, i found this works in sololearn playground: https://code.sololearn.com/cM3lFGUyMfTY/?ref=app đŸ˜ŠđŸ‘đŸ„‚đŸŸ
30th May 2018, 7:41 AM
ifl
ifl - avatar