Computer Applications
Consider the following class:
public class myClass {
public static int x=3, y=4;
public int a=2, b=3;}
- Name the variables for which each object of the class will have its own distinct copy.
- Name the variables that are common to all objects of the class.
Java Classes
ICSE 2014
13 Likes
Answer
- a, b
- x, y
Answered By
8 Likes