• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

public class

 
Bharat Varathan
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why there should be only one public class per file and why the file name should be the same as that of the public class ??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic