class JA { public String name = new KA().getName(); public KA newKA() { return new KA(); } }