Computer Science, asked by Vivek1408, 1 year ago

what is the difference static and non static methods

Answers

Answered by Anonymous
2
hey dear friend!!!!!!!
A static method can access static methods and variables as follows: A static method can call only other static methods, it cannot call a non-static method. Astatic method can be called directly from the class, without having to create an instance of the class.
hope it may help u dear!!!!

plz mark me at brainlist ^_^!!!!!

Vivek1408: thanks
Anonymous: welcome
Anonymous: and very very thanks for marking me at brainlkist:)
Anonymous: list
Similar questions