+ 3
Is the class name MyClass compulsory
can we name the class at the start anything else other than MyClass for eg. my name
4 Respuestas
+ 5
Class names are alphanumeric names of the classes. Traditionally, all class names begin with an upper-case letter symbol and are written in PascalCasing.
In MuranoPL all class names are unique. At the same time, MuranoPL supports namespaces. So, in different namespaces you can have classes with the same name. You can specify a namespace explicitly, like ns:MyName. If you omit the namespace specification, MyName is expanded using the default namespace =:. Therefore, MyName equals =:MyName if = is a valid namespace.
+ 5
yes u can use name other than myclass ... but aise hi style karne ke liye myClass likh dete hain ... i don't use myClass ... u can see some of my java codes
i write GauravProgram in place of myClass
https://code.sololearn.com/cTbSLFBTOERh/?ref=app
https://code.sololearn.com/ccKOF9SAPH0P/?ref=app
+ 4
thank you
- 3
Sure you can, but it should not have any spaces...