Answer: o A static method belongs to the class rather than the object.
o There is no need to create the object to call the static methods.
o A static method can access and change the value of the static variable.
Not sure what course is right for you?
Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.