Java – Variables and Data Types

In this, java variables and data types tutorial, we learn how to declare a variable in java and what is data types in java. Let’s start with an example to declare variable and data type. Example: Addition of two numbers. In the above example you need to look at the first line in main() method…

Read More »

Java – First Program

In this Java tutorial, we will learn how to write your first java program, Hello World in Java. After that, we will also discuss how to compile and run a simple java program with example. First Program in Java (Hello World) Let’s start with the first example in java. To write Java code, open your…

Read More »

Java – First Step

Before we start, we should have JDK and a Text Editor installed in our PC. JDK is software for java development and, the text editor is an application where we write Java code. What is JDK? The Java Development Kit (JDK) is software for Java programs. The JDK is consist of JVM and the JRE….

Read More »