What is static method with example?

The most common example of a static method is the main( ) method . As discussed above, Any static member can be accessed before any objects of its class are created, and without reference to any object. Methods declared as static have several restrictions: They can only directly call other static methods.

Sizin İçin Seçtik  What is GSM GPRS network?

Leave a Reply

Your email address will not be published. Required fields are marked *