.


Divya

Java Tutorial with Example


Java is an object-oriented programming (OOPs) language.

Object-oriented programming is a methodology to design a program using class and object.

About this tutorial

In this tutorial basically, we provide the depth concept of Java programs that helps a beginner to write java program easily and create a java project of his own.

Tools needed for run Java program

  • Linux or Windows XP/7/8/9/10 operating system
  • JDK 1.5 or above
  • Notepad

Java programming Example

Examples are better than 1000 words. Examples are often easier to understand than text explanations. So in this tutorial we provide example for each topic.

Let’s start with a simple Hello World! program

Hello world program

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


.