External source file
Hii have an external source code file. How can i use this external file in another source file? Thanks for help.
[133 byte] By [
J_prog] at [2007-11-26 12:17:18]

# 3
ehmmmm.....
import my.package.for.External
Or something like
External.doStaticStuff();
External extInstance = new External();
extInstance.doInstanceStuff();
You could ofcourse also try to do the tutorial, just for the fun of it :)
# 4
compile external.javaimport it with import statement in your MyFile.java, if external.class is in another packageuse the class(es) inside to make objects / call static methods, whathaveyou