

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


package test; class Test { int x, y; }
package main; class Main { public static void main(String args[]) { Test t = new Test(); System.out.println(t.x + " " + t.y); } }
class Main { public static void main(String args[]) { System.out.println(fun()); } int fun() { return 20; } }