B
bruce
How do I create a library of common methods without instantiating a
class which gives me access to the method? I know how to create a
library that has a class and the method. I can then:
CommonCode cc = new CommonCode();
String result = cc.myMethod();
This works fine but what I want to do is have the library contains
methods so I don't have to instantiate the class: I want to just do:
String result = myMethod();
Again, I know I can place it in my project but I want the library
available for many projects.
Thanks..
Bruce
class which gives me access to the method? I know how to create a
library that has a class and the method. I can then:
CommonCode cc = new CommonCode();
String result = cc.myMethod();
This works fine but what I want to do is have the library contains
methods so I don't have to instantiate the class: I want to just do:
String result = myMethod();
Again, I know I can place it in my project but I want the library
available for many projects.
Thanks..
Bruce