| Author |
classes
|
Manoj Zachariah
Ranch Hand
Joined: Dec 08, 2003
Posts: 65
|
|
if i write a java program with two classes, each class in a separate file. how can i inherit one class from the other? thanks!!!
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8262
|
|
|
The compiler resolves the dependency by searching the classpath.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Manoj Zachariah
Ranch Hand
Joined: Dec 08, 2003
Posts: 65
|
|
|
i'm a beginner here, so can you tell me the parameters i should pass while compiling the above program. :roll:
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
[ December 18, 2003: Message edited by: Marilyn de Queiroz ]
|
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
|
 |
Marilyn de Queiroz
Sheriff
Joined: Jul 22, 2000
Posts: 9033
|
|
|
It makes no difference whether the classes are in the same file or in different files.
|
 |
 |
|
|
subject: classes
|
|
|