Program using “ print ” and “ println"
class sample
{
public static void main(String args[])
{
System.out.print("\n\n\t\tWelcome");
System.out.print("\n\n\t\tTo");
System.out.println("\n\n\t\tJava");
System.out.println("\n\n\t\tProgramming");
}
}
OUTPUT : -
No comments:
Post a Comment