from main method can i call two classes at a time

can any one give one example of it.
[42 byte] By [learningjavaa] at [2007-10-3 2:35:09]
# 1

Maybe you could explain a bit about what you mean, what you're trying to do and why?

One doesn't call classes. One calls methods.

You can call one method, and then the next method, and the next, and the next. If you want to have multiple things happening at the same time--one method starting before another is finished--google for java multithreading tutorial.

jverda at 2007-7-14 19:34:07 > top of Java-index,Java Essentials,New To Java...