Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why "byte b = 0xaa" fail to be compiled?

842510Feb 16 2012 — edited Feb 21 2012
Why "int i = 0xaaaaaaaa;" is compiled successfully, while "byte b = 0xaa;" fail?
This post has been answered by 796440 on Feb 16 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 20 2012
Added on Feb 16 2012
16 comments
1,243 views