Static methos allow us to call the method of the class without creating an object of the class. So in that case we have to use scope resolution operator to call the static methods. Declare Method as Static: Static methods can be declared using keyword . Have look at below code bloc for the same: [...]