[Prev][Next][Index][Thread]

Java with JBuilder



Hi,
I'm new to JBuilder. I created some simple functions/methods
and included in a package ( because I want to reuse them ) . I could
import the package file to another project but I could not call the
methods. It says "Method not found in the class". Following is the
package to reuse.

package GeneralClasses;

public class class_int_handle {

  public int addInts(int a, int b) {
    return (a + b);
  }

  public int multInts(int a, int b){
    return (a * b);
  }
}

Can anybody help me to proceed?

Susantha.


Sent via Deja.com http://www.deja.com/
Before you buy.