Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit-2 Objects and Classes

Similar presentations


Presentation on theme: "Unit-2 Objects and Classes"— Presentation transcript:

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.

3

4 Program


Download ppt "Unit-2 Objects and Classes"

Similar presentations


Ads by Google