Sunday, 24 September 2017

Upper Casing in char

char is a primitive type that represents a single 16 bit Unicode character while Character is a wrapper class that allows us to use char primitive concept in OOP-kind of way.

Example for char,

char ch = 'a';

Example of Character,


It converts 'a' to 'A'

No comments:

Post a Comment