File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes integer/numeric value of char Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "integer/numeric value of char" Watch "integer/numeric value of char" New topic
Author

integer/numeric value of char

pankaj agarwal
Ranch Hand

Joined: Oct 13, 2000
Posts: 39
What exactly is meant by 1. integer value 2. numeric value of a char literal???
Thanks in advance
pankaj
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
From www.dictionary.com

in�te�ger (nt-jr)
n. Mathematics
A member of the set of positive whole numbers (1, 2, 3, . . .), negative whole numbers (-1, -2, -3, . . .), and zero (0).
A complete unit or entity.

A character can hold alphabetic values as well as integer values. So if we have:
char c = '9';
the character could be alpha OR numberic. The numeric value of this character literal is the integer 9.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: integer/numeric value of char