Download presentation
Presentation is loading. Please wait.
1
Unit-2 Objects and Classes
Character Class
2
Introduction Java provides a wrapper class for every primitive data type. These classes are Character, Boolean, Byte, Short, Integer, Long, Float, and Double for char, boolean, byte, short, int, long, float, and double. All these classes are in the java.lang package. They also contain useful methods for processing primitive values. The Character class has a constructor and several methods for determining a character’s category (uppercase, lowercase, digit, and so on) and for converting characters from uppercase to lowercase, and vice versa.
4
Program
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.