Computer Science, asked by sahaarjoma, 7 months ago

Consider the following code and answer the
C.
class vxl
{
int x,y;
void init()
{
X=5;
y=10;
}
protected void access()
{
int a=50, b=100;
vxl vin=new vxl();
vin.int();
System.out.println("Object created");
System.out.println("I am X="+vin.x);
System.out.println("I am Y="+vin.y);
}
a. What is the object name of the class vxl?
b. Name the local variables of class.
c. What is the access specifier of method access()?
d. Write the output of the above program.​

Answers

Answered by amanjatti0055
2

Answer:

please follow me my dear friend

Similar questions