it is said that the name of the program file shuld be d same as the
public class in d program if any and
if there is no public class then the program file can have any name.
but wen i tried the latter option it gives a runtime error y so??
SCJP, SCWCD.
|Asking Good Questions|
Originally posted by pdpta chopra:
but wen i tried the latter option it gives a runtime error y so??
SCJP, SCWCD.
|Asking Good Questions|
SCJP, SCWCD.
|Asking Good Questions|
SCJP, SCWCD.
|Asking Good Questions|
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
and that will compile all the .java files in the current directory (on my mac anyway, I would think it'd be the same on windows) or you can create a file like sourcefiles.txt and list the path to and the names of the files you want compiled.
javac ./*.java
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".
SCJP, SCWCD.
|Asking Good Questions|
Don't get me started about those stupid light bulbs. |