Code Playground | Sololearn: Learn to code for FREE!

+4

Code Playground

Is it possible to create more than one class in the coding window?

2/8/2018 1:45:56 AM

Tim Millar

2 Answers

New Answer

+3

yes its possible. But the code will start from the main() method. So, if you are using more classes, then you have to call or refer to them from the main method.

+2

yeah so encapsulation isn't possible