Compiling a bunch of stuff in the folder (java, on a mac)
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-04-04T04:41:46Z
Indexed on
2010/04/04
4:43 UTC
Read the original article
Hit count: 339
two questions:
- how do i compile a .java file that isn't on my username (like something in documents or some other sub folder)
- if i have multiple .java files and i compile one that contains method that are contained in the others does the compiler compile those other files.
heres an example of the second question.
example1.java:
class example1
{
main () {
example2.method () }
}
example2.java:
class example2
{
method ()
}
When i compile example1.java will example2.java also be compiled?
© Stack Overflow or respective owner