Category Java

String Compare in Java | String Comparison

String compare by = = operator in Java

In this tutorial, we will learn how to compare two strings in Java with the help of examples. We will explore various methods to compare between the two strings. In Java, or any other programming languages, string comparison is the…

Static and Dynamic Binding in Java

The connecting (linking) between a method call and method body/definition is called binding in Java. Look at the below figure in which we have defined a class X. It has two methods m1() and m2(). The x.m1(); (method call) is…

Difference between Super and This Keyword in Java

In this tutorial, we will understand the basic difference between super and this keyword in Java. So, let’s start with the basic introduction of both. Introduction to ‘super’ Keyword: The ‘super’ keyword in Java is a reference variable that refers…