Тип объекта на Java

YourObject s = new YourObject();
s.someMethod(args);
abdullah