// A simple program to print the length of character.
class A
{
public static void main(String arr[])
{
char ch[]={'a', 'b', 'c', 'd', 'e'};
String s1=new String(ch);
System.out.println(s1.length());
}
}
Output:
Thursday, 13 June 2013
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment