This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

empty file

 
Roopa Bagur
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is empty file a valid source file?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is. the code below will compile
Content of Empty.java


HIH
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform
 
Roopa Bagur
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic