File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Compilation unit  and   Integer overflows/underflows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Compilation unit  and   Integer overflows/underflows" Watch "Compilation unit  and   Integer overflows/underflows" New topic
Author

Compilation unit and Integer overflows/underflows

amit sanghai
Ranch Hand

Joined: Dec 05, 2000
Posts: 231

Hi everybody,
I have two questions :
Q1) What is a compilation unit?
Q2) How does Java handle Integer underflows and overflows?

In Zaworski's site the answers mentioned are :
1) A java source code file.
2) It uses those low order bytes of the result that can fit into the size of the type allowed by the operation.
Can anybody explain the answers please!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compilation unit and Integer overflows/underflows