A class variable is a local variable a static variable a non
A class variable is a local variable a static variable a non-static variable None of the above
Solution
Option [A] --> Local variables are that declared in methods, constructors, or blocks of class.
Option [B] --> Class Variable type may be Static, then static variable can be used to refer the common property of all objects.
Option [C] --> Class Variable type may non-Static Variable (int/float)
ANSWER :--> [D] None of the above
Class Variable are called Instance variables and declared in a class, but outside a method, constructor or any block.
![A class variable is a local variable a static variable a non-static variable None of the above SolutionOption [A] --> Local variables are that declared in m A class variable is a local variable a static variable a non-static variable None of the above SolutionOption [A] --> Local variables are that declared in m](/WebImages/37/a-class-variable-is-a-local-variable-a-static-variable-a-non-1111406-1761589384-0.webp)