Java – Basic Syntax

The syntax of the Java programming language is the set of rules for writing the java programs and defining its interpretation. Java program is the collection of classes and objects that communicate with each other via. method. It is the program structure. There are …

Read moreJava – Basic Syntax

Java Introduction

Java is a popular general-purpose, high level, modern programming language, and computing platform. It is fast, reliable, secure, and dynamic, with the ability to fit the needs of virtually any type of application. It is Platform Independent, which means the …

Read moreJava Introduction

Java – this Keyword

In Java, this is a reference variable, this can be used inside any method or constructor to refer to the current object. Following demonstrating the use of this Use of this Keyword in constructor: Output: Name: Daniel marks:90 Note: that, Java does …

Read moreJava – this Keyword

Java – StringBuffer

StringBuffer and StringBuilder in java is a class that provides the mutable(changeable) ability.Since a String is immutable that is its value cannot be changed once the object is created. So to modify the String, StringBuffer and StringBuilder class is used. …

Read moreJava – StringBuffer

Java – Strings

A string is defined as a series of characters or an array of characters in java. They are present within the double quote. Create a String: One way to create a String is to directly declare it within the double …

Read moreJava – Strings