• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

declerations

 
anushree ari
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it valid?
package declaration; �
//commnts
import statements;
class definition;
comments can appear anywhere,
correct me,
thx
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Comments have (almost) no impact on the code since they are not taken into consideration by the compiler.
Otherwise the layout (package, import, class) is correct.
 
anushree ari
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx valentine,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic