aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Regarding Files Names Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Regarding Files Names" Watch "Regarding Files Names" New topic
Author

Regarding Files Names

raji alluru
Greenhorn

Joined: Apr 20, 2006
Posts: 5
Can a java file begin with a numeric value....?If so give me an example...
Vinayagar Karpagam
Ranch Hand

Joined: Apr 09, 2006
Posts: 72
I dont think a java file can begin with a number but a java file name can start with a number.
raji alluru
Greenhorn

Joined: Apr 20, 2006
Posts: 5
Give me an example.....
santhosh Gopalakrishna Bajja
Ranch Hand

Joined: Apr 01, 2006
Posts: 34
class san
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}

save the file as 123.java

javac 123.java

Compilation sucess

u can't run 4 sure..


santhosh


"Nothing is impossible even impossible has I 'M POSSIBLE"
 
 
subject: Regarding Files Names