File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Assertions

 
Sharmila Rishi
Greenhorn
Posts: 20
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Sharmila Rishi
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks marc.



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