First contact with java Learn programming Java



Lesson:

First contact with Java


Exercise:

First contact with java


Objetive:

Create a program (in java) to print Hello on screen and then print your name (in a separate line).


Code:

public class Main
{
	public static void main(String[] args)
	{
		System.out.println("Hello");
		System.out.println("Juan!");
	}
}



Juan A. Ripoll - Systems Tutorials and Programming Courses ©  All rights reserved.  Legal Conditions.