If it's a static method, call it like this:Abc.def()
where Abc is the name of the class and def is the name of the method.
If it's an instance method, then call it like this:abc.def()
where abc is a reference to an instance of the class and def is the name of the method. This isn't the New to Java forum or I would go on to tell you how to create an instance of a class, but I'll assume for now that you know that.