Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Field Initializations

 
Kali Praveen
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was looking at the following example in JLS and couldn't think of why
there is no compilation error on lines 9,10,21,22 where as there is compilation error on line 18. I could get the reasons for other errors except for the errors/non-errors on those lines.


Thanks,
Praveen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic