Home > DeveloperSection > Interviews > What is static method in Java?

Posted on    November-17-2015 3:35 AM

 Java Java 
 1 Answer(s)
  414  View(s)
Rate this:

Devesh Kumar Singh

Total Post:12

Posted on    November-17-2015 4:35 AM

  1. 1) A static method belongs to the class rather than object of a class.
  3. 2) A static method can be invoked without the need for creating an instance of a class.
  5. 3) static method can access static data member and can change the value of it.

Modified On Nov-17-2015 03:36:20 AM

Don't want to miss updates? Please click the below button!

Follow MindStick