Question: What is the difference between a static and non-static method?
- non-static methods always need to have a void return type
- non-static methods do not have access to static member variables
- static methods do not have to instantiate an instance of the class to call the method
- static methods always have to be public
Answer: The correct answer of the above question is Option C:static methods do not have to instantiate an instance of the class to call the method