This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Assertions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Assertions" Watch "Assertions" New topic
Author

Assertions

Sharmila Rishi
Greenhorn

Joined: Oct 11, 2006
Posts: 20
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

Joined: Aug 31, 2004
Posts: 11343



"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Sharmila Rishi
Greenhorn

Joined: Oct 11, 2006
Posts: 20
Thanks marc.



-Sharmila Rishi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assertions