This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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]

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: empty file