class Hasznal { public static void main(String[] args) { X x = new X(); f(1); } int f(int i) { return i + 1; } } double d = 1.5; int i = (int)1.5; new X new X new X new X new X class X { T t; } class X { Integer szam; } class A { public int f(int i) { ... } public int f(double d) { ... } public int g(double d) { ... } public int h(int i, double d) { ... } public int h(double d, int i) { ... } } A a; a.f(1); a.g(1); a.g(1.0); a.h(1, 1);