How to show multi statement in single line

class a
{
public static void main(String arg[])
{
System.out.println("\t Name : Sulman\n\t\tProgram: BSIT\n\t\t\tsemester: II");
/* \t for tab space or \n is use for new line*/

}
}

0 comments:

Post a Comment