American Express interview question

What is the difference between class methods and variables and instance methods and variables?

Interview Answer

Anonymous

14 Sept 2017

Class methods and variables are part of the class declaration. When you instantiate the class, you are creating an instance of that class that hold the instance methods and variables.