What is the difference in an instance method and a static method?
Answer Posted / Krishan Pratap
Instance methods (non-static) are methods that can only be called on an instance of a class, while static methods can be called directly from the class without creating an object. Static methods have the keyword STATIC in their declaration.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category