The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2002



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


any ordinal Type would do

Posted by senthoor on February 20, 2002 at 8:12 AM

Rather saying it has to be a integer its better to say a ordinal type variable will have to come in the place of "here".

A ordial type is when you know the previous and next values. If you tka einteger 5 the previous is 4 and next is 6. Char A means previous is Z and next is B.

float this is not possible .....

There fore more appropreate would be to say that a ordianl type should come in the case...


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us