class first{ int x,y; x = y = 0; } class second{ public static void main(String args[]){ first x = new first(); System.out.println(x.x); System.out.println(x.y); } }
class first{ int x=0; int y=0; } class second{ public static void main(String args[]){ first x = new first(); System.out.println(x.x); System.out.println(x.y); } }
int x = 0;
x = 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)