Java Basics

Installing Java on 64 bit Windows

Last Updated:

Learn to install Java on 64 bit Windows machines in this step-by-step guide. 1. Navigate to the Oracle Java Download Page Navigate to the Java …

Java Hello World Program

Last Updated:

In this Java tutorial, we will learn to write our first “Hello World” program in Java. In any programming language, a ‘Hello World‘ program is …

Java Command Line Arguments

Last Updated:

The program arguments passed at launching the Java program are called command line arguments. While launching the program we can pass additional arguments (no limit of numbers of arguments).

Java – Naming Conventions

Last Updated:

Java naming conventions are sort of guidelines that application programmers are expected to follow to produce a consistent and readable code throughout the application. If …

Java hashCode() and equals() Methods

Last Updated:

Java hashCode() and equals() methods. Learn contract between hashCode and equals methods. How to correctly override both methods and best practices.

Java Wrapper Classes, Autoboxing and Unboxing

Last Updated:

Learn about Java wrapper classes, their usage, conversion between primitives and objects; and autoboxing and unboxing with examples. 1. Java Wrapper Classes In Java, we …

Java Comments

Last Updated:

Learn everything about Java comments, types of Java comments, Javadoc tool, performance impact of comments and best practices to follow. 1. Why write Java comments? …

Java Variables

Last Updated:

In this Java tutorial, learn about the Java variables and types of variables. Also, look at the example of how to declare a variable in …

Java JDK, JRE and JVM

Last Updated:

JDK, JRE and JVM is very common words when developers talk about java applications and their development environments. Let’s find out the differeneces between these words.

Java Classpath

Last Updated:

Use given syntax examples for setting CLASSPATH for any java application runtime, in windows and linux environments.

Java System Properties

Last Updated:

Java maintains a set of system properties for its operations. Each java system property is a key-value (String-String) pair. For example, one such system property …

Static Import Declarations in Java

Last Updated:

The normal import declaration imports classes from packages, so that they can be used without package reference. Similarly the static import declaration imports static members …

Java Classes and Objects

Last Updated:

Classes are the basic units of programming in the object-oriented paradigm. In this tutorial, learn to write Java class and how to create object in Java.

What is Block Statement in Java

Last Updated:

A block statement is a sequence of zero or more statements enclosed in braces. A block statement is generally used to group together several statements, …

Java Statements

Last Updated:

A statement specifies an action in a Java program. For example, a statement may tell the add of values of x and y and assign …

Java Operators

Last Updated:

Learn about available Java operators, precedence order and understand their usages with example. We will also try to understand when to use which operator and …

Little-Endian and Big-Endian in Java

Last Updated:

We must have heard these terms Little-Endian and Big-Endian many times in your engineering course. Let’s quickly recap the concept behind these words. 1. Little-Endian …

Java Data Types

Last Updated:

Learn about various data types in Java. Learn the differences between primitive datatypes and non-primitive datatypes (or reference datatype). We will also learn about the …

Java Tutorial

Last Updated:

In this Java tutorial for beginners, learn how Java is concurrent, object-oriented, and is intended to let application developers “write once, run anywhere” (WORA). 1. …

Java Primitive Data Types

Last Updated:

Learn about all eight primitive data types in Java, their memory sizes, default values, and range of the maximum and the minimum value. Primitive data …

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.