Java Tutorial for Beginners

The java programming language is an object-oriented programming language that contains complete information, syntax and examples of java program for the beginner's. In this online java programming tutorials for beginners helps you to how to write java program, compile java command as well as how to install and configure java.

Java Tutorial for Beginners

The java programming language is an object-oriented programming language that contains complete information, syntax and examples of java program for the beginner's. In this online java programming tutorials for beginners helps you to how to write java program, compile java command as well as how to install and configure java.

Java Tutorial for Beginners


This Java tutorial for beginners is very useful for a person new to Java. You will learn the basic of Java and quickly develop and test simple program.

  1. First we will ensure that the Java is installed and configured on your computer.
  2. For this go to console and type Java. If Java is not installed and configured, first install and configure Java on your computer.

  3. Lets write an application in Java that prints current date on console.
public class CurrentDate {

public static void main (string [] args){

system.out.println(new java.util.date());

}

}

Compile and execute Java Program.

Java compile command: compile command for java is as given below.

-> javac filename.java

Java execute command: execute command for java is

-> java filename

Output of Java Beginners Example Code

Related Java Tutorials for Beginners

  1. Eclipse Java Tutorial for Total beginners
  2. Fundamental of Java Programming
  3. Features of Java
  4. Java SE Fundamentals