ANSWER: Class methods are declared as static hence they can be called without creating an instance of a class. Class methods can only operate on class members and not on instance variables since they are unaware of the instance members. In order to use an instance method, you must create a instance of a class …
Continue reading “What’s the difference between a class method and an instance method?”