Source Code
public class Program //you can give any name to "class"
{
public static void main(String[] args) {
System.out.println("Hello! java");
// Note you have to write "S" capital in "System"
System.out.println("This is my First Program In Java");
}
}
Output
Tuesday, August 21, 2018
Syntax of Java ( First Program in Java) Simple Example
Subscribe to:
Post Comments (Atom)
No comments: