Hibernate Tutorial

(Brent) #1

TUTORIALS POINT


true
false
false
false

toUpperCase()


Description:


The method returns the uppercase form of the specified char value.


Syntax:


char toUpperCase(char ch)

Parameters:


Here is the detail of parameters:

 ch -- Primitive character type

Return Value :


 This method Returns the uppercase form of the specified char value.

Example:


public class Test{

public static void main(String args[]){
System.out.println(Character.toUpperCase('c'));
System.out.println(Character.toUpperCase('C'));
}
}

This produces the following result:


C


C


toLowerCase()


Description:


The method returns the lowercase form of the specified char value.


Syntax:

Free download pdf