This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Compilation unit and Integer overflows/underflows
 
It's not a secret anymore!