Home / What are class variables in Java?
Answer: It contains 3 types of variable :-1 Local variable (applicable Access Modifier is Final only (In terms of main method))2 Instance variable (we can any no. objects)3 Class/Static variable (only one copy is made per class)
Your email address will not be published. Required fields are marked *