Java Program to Print an Char
In this program, you'll learn to print a char
class Test { public static void main(String[] args) { char ch='c'; System.out.println("Display char:"+ch); } }
Output:
Display char:c
Java Tutorial Java Exercises Data Structures |
In this program, you'll learn to print a char
class Test { public static void main(String[] args) { char ch='c'; System.out.println("Display char:"+ch); } }
Display char:c
Java Programming