+ 3
Java program with multiple classes
Is it possible to create a program with multiple java classes in Sololearn playground?
6 Respuestas
+ 8
i think yes , by using package
+ 4
Yep, it's possible
+ 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.:-)
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...
0
Problem solved, i found this works in sololearn playground: https://code.sololearn.com/cM3lFGUyMfTY/?ref=app
😊👍🥂🍾