View Single Post
  #2 (permalink)  
Old 08-07-2007, 06:45 AM
barney barney is offline
Member
 
Join Date: Jul 2007
Posts: 40
barney is on a distinguished road
Depends on how you wrote the class.

A normal, non-static class, you have to make an object, then call the methods.
If it's static, you can just call the methods.
You need to include it like any other class with the include directive.

So, you either do like
Code:
CheckEmpId myObj = new CheckEmpId(); myObj.myMethodCall();
or, if static, just
Code:
CheckEmpId.theMethodName();
Oh, don't forget classpath and all that jazz.
Greetings.
Reply With Quote