Java Introduction

Java Made Simple: What is Java and JDK?

Java and JDK Many confusing concepts of Java and JDK are discussed in simple terms for a beginner. 1. What is a high-level language? A language is required to communicate with the computer hardware and operating system. A language comprises of instructions known as commands. Commands, earlier at the very beginning are written in binary …

Java Made Simple: What is Java and JDK? Read More »

Java Clear Concepts: Java Main Features and Characteristics

Java Main Features explained one-by-one in Simple words for a Beginner. Java was released to market in 1995 with its first version JDK 1.0. From day one, it is treated as an important language used to develop many applications that are increasing everyday; the latest being Android. As on today, more than 3 billion devices …

Java Clear Concepts: Java Main Features and Characteristics Read More »

Java this keyword Purpose and Meaning Example

Before explaining Java this keyword, first let us see the problem then we will see a solution. Sometimes in coding of any language including Java, local variable may clash with instance (global) variable. That is, both local variable and instance variable are same. If same, an unexpected result occur. Observe the following simple code without …

Java this keyword Purpose and Meaning Example Read More »

Data Types Default Values Java

Java does not support garbage values. An unassigned local variable gives compilation error and an instance (global) variable takes a default value. Following program illustrates the default values given by JVM for unassigned instance variables. String is not a data type. If not assigned, String takes null as the default. public class DataTypeDefaults { byte …

Data Types Default Values Java Read More »

Java Naming Conventions Readability

Java Naming Conventions Readability Summary: Unlike C/C++, Java comes with naming conventions to increase the readability of code. This "Java Naming Conventions Readability" explains how to do it. After knowing the rules of identifiers, it is the time to know the another grammar of Java known as "conventions". Conventions increase the readability of the program. …

Java Naming Conventions Readability Read More »

Java Drawbacks

Even though Java is projected as the most demanded language of the times, but has its own disadvantages. Of course, they are very minor in nature and need not be considered as drawbacks compared to the advantages it brings forward. Following is the list of Java Drawbacks a) Slow performance: The first and foremost drawback …

Java Drawbacks Read More »