Computer Science, asked by Mridul7852, 3 months ago

class vxl
{
int x,y; void init()
{
x=5;y=10;
}
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);
}
}

Answers

Answered by devanshpant1020
0

Answer:

Mark me brainliest then I will follow you.

Answered by SUDIPGUCHHAIT
0

Answer:

Object created

I am X=5

I am Y=10

mark me as the brainliest

Similar questions