Mapping of class file in Main
Hi All, i have written my class file and main class separately, so how to call the class file from main which is written separately.If possible provide quick response!
[188 byte] By [
MIT126a] at [2007-11-27 9:51:17]

Hi All,i have written my class file and main class separately, so how to call the class file from main which is written separately.Its okkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.....Thanx for ur reply.
> i have written my class file and main class
> separately, so how to call the class file from main
> which is written separately.
By instantiating it in the your main-method.
Example:
// inside main(...)
ClassFile anInstanceOfClassFile = new ClassFile();
// ...