+ 1
Java requires multiple class files
Can we setup multiple files in the code playground to use getters and setters in java?
1 ответ
+ 4
Not sure what that has to do with getters and setters, but no, not on code playground. Only one file can be used (the one you create the code on), excluding imports from libraries that are supported. (Like utils and collections).
You can create the classes on the same file.
class a{}
class b{}
class c{}
etc..