This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Files Names
 
Similar Threads
WA #1.....word association
java io
ImageIO performance is very low in solaris compared to windows need an alternative
ClassNotFoundException in Jsp Precompilation
Struts FormFile (parsing .csv files)