Skip to Main Content
Java Programming by Pearson
book

Java Programming by Pearson

by Hari Mohan Pandey
May 2024
Intermediate to advanced content levelIntermediate to advanced
889 pages
37h 5m
English
Pearson India
Content preview from Java Programming by Pearson
Basic Utility Classes • 635
Explanation: The forDigit method returns the character equivalent of the fi rst argument in radix that is
specifi ed by second argument. In order to print the character equivalent of digit 10 in hexadecimal number
system 16, the fi rst argument is supplied as 10 and second method takes two parameters: fi rst one is the
character and second one the radix. The method returns the integer equivalent of the character supplied.
The valueOf() method takes a character value and returns the equivalent Character object. The
compareTo methods two Character objects and returns 0 if both are equal.
19.12.6 The Boolean Class
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Programming, 1st Edition by Pearson

Java Programming, 1st Edition by Pearson

K. Rajkumar
Object Oriented Programming Through Java by Pearson

Object Oriented Programming Through Java by Pearson

Ramesh Vasappanavara, Anand Vasappanavara, Gautam Vasappanavara
Python Programming by Pearson

Python Programming by Pearson

S.Sridhar, J. Indumathi, V.M. Hariharan

Publisher Resources

ISBN: 9781299486539