+ 1

Do I need to write public static void everytime?

My mom says that public and static can't be together. But when I put just public or static, the script doesn't work.

19th May 2017, 9:04 AM
정제윤
정제윤 - avatar
3 Réponses
+ 1
yes its is compulsary to write it together
19th May 2017, 9:22 AM
Anas Siddiqui
Anas Siddiqui - avatar
0
no its not compulsory to write it evrytime... and yess you can put both together if you want...
19th May 2017, 9:06 AM
Ammy Dua
Ammy Dua - avatar
0
Sometimes you don't need to write it, you can copy and paste it. :)
19th May 2017, 9:27 AM
Sabrina Aviles