+ 4

Code Playground

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

8th Feb 2018, 1:45 AM
Tim Millar
Tim Millar - avatar
2 Respuestas
+ 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.
8th Feb 2018, 1:52 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 2
yeah so encapsulation isn't possible
8th Feb 2018, 1:55 AM
Tim Millar
Tim Millar - avatar