Skip to Main Content

New to Java

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!

integer number too large : 08

807598Jun 13 2006 — edited Jun 15 2006
case 00 : a = "0";
break;
case 01 : a = "1";
break;
case 02 : a = "2";
break;
case 03 : a = "3";
break;
case 04 : a = "4";
break;
case 05 : a = "5";
break;
case 06 : a = "6";
break;
case 07 : a = "7"; break;
case 08 : a = "8";
break;
case 09 : a = "9";
break;
case 10 : a = "a";
break;
case 11: a = "b";
break;
case 12 : a = "c";
break;
case 13 : a = "d";
break;
case 14 : a = "e";
break;

This is part of my programme. I have compilation errors only for case 08 & 09. It says "integer numbers too large"
Hope there are people who can help me!! Thank you in advance!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2006
Added on Jun 13 2006
24 comments
1,722 views