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
0
Answer:
Mark me brainliest then I will follow you.
Answered by
0
Answer:
Object created
I am X=5
I am Y=10
mark me as the brainliest
Similar questions
Math,
1 month ago
Hindi,
1 month ago
Social Sciences,
1 month ago
Math,
3 months ago
French,
3 months ago
Chemistry,
9 months ago
CBSE BOARD X,
9 months ago