File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Mock Exam Errata and the fly likes Wrapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Wrapping" Watch "Wrapping" New topic


Porchelvi Vendhan

Joined: Sep 08, 2001
Posts: 21
When int is assigned a value greater than its max. value ,then it wraps around.
But what happens when a byte is assigned a value greater than 127.
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Porchelvi,
Best way to find out is to write some code and see what happens
I'm going to move this over to the Certification Study forum; this one is just for posting Mock exam errors.
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform

Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
I agree. Here's the link:
subject: Wrapping