Write a program to display different messages using print statements.

class Student
{
    public static void main(String args[])
	{
	   System.out.printIn("Welcome");
	   System.out.printIn("...............");
	   System.out.printIn("to the");
	   System.out.printIn("World of");
	   System.out.printIn("...............");
	   System.out.printIn("java");
	}
}

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Show Buttons
Hide Buttons