3:53 pm - Sunday March 24, 2486

Character Example Program for oshighsurrogate(char ch)

CANDID INDUSTRIAL TRAINING -- CHENNAI
Corporate Training for Experienced Candidate
Struts | Hibernate | Spring | Java / J2EE
SOAP | RestFull | Design Pattern | more...
Ph: +91 72000 69003
137b, 2nd st, shanthi nagar, Chrompet, Chennai -600044

/**
@Author:Candid
@discription:Character Example Program for isHighSurrogate(char ch)
**/

public class Sam
{
public static void main(String args[])
{
char f='d';               //Initialize a char value
System.out.println(f);
Character ch=new Character(f);       //Create object ch
boolean a=ch.isHighSurrogate('f');   //to find isHighSurrogate
System.out.println(a);               //to print value
}
}

Output:

   d
   false

Filed in: Z-A All Java Codes

Comments are closed.