File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes empty file 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 "empty file" Watch "empty file" New topic
Author

empty file

Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
Is empty file a valid source file?
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Yes it is. the code below will compile
Content of Empty.java


HIH
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Roopa Bagur
Ranch Hand

Joined: Nov 03, 2000
Posts: 267
Thanks for the prompt replies Valentin..
The java rookie mock exam question number 20 from JavaQuestionBank.com marked me wrong when I checked it as true.
Originally posted by Valentin Crettaz:
[B]Yes it is. the code below will compile
Content of Empty.java


HIH
[/B]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: empty file