Is a class variable same as the instance variable marked static .
posted 5 years ago
Hi Rahul. Welcome to the Ranch!
Almost. "Instance variable marked static" is actually a contradiction, because if it's marked static it isn't an instance variable (because it doesn't belong to instances of the class). But yes, a class variable is a static variable.