3
Reply

Why declare Main() inside the class ?

Atulya Panda

Atulya Panda

13y
2.7k
0
Reply
    everything has to be inside a class including main method also so it is always inside a class
    It is complete Object-oriented language hence every function even main should be declared in class.....
    Main is the entry point of the program