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

Assertions

 
Sharmila Rishi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

According to JLS a compile time error occurs if an assert statement is unreachable.Can anyone please give an example.


Thanks in advance.


-Sharmila Rishi
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Sharmila Rishi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks marc.



-Sharmila Rishi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic