//How to print character in java
public class M
{
public static void main(String args[])
{
char c;
c='a';
System.out.println("Character c is: "+c);
}
}
OUTPUT:
Character c is: a
public class M
{
public static void main(String args[])
{
char c;
c='a';
System.out.println("Character c is: "+c);
}
}
OUTPUT:
Character c is: a
No comments:
Post a Comment