Originally posted by Lawrence Buensalida:
it's that simple?
Err no not really. The example given was the simplest form of calling a method from one class by another. Read up on packages and on the different forms of encapsulation in Java. What would of happened if the method had been static, for example? Here is a link to the
Java Tutorial. Also how do you need to modify your classpath when calling a method from a class within a Jar file?