My Blog

My WordPress Blog

My Blog

My WordPress Blog

JAVA Tutorial

Arrays Class in Java

In Java, the Arrays class is a utility class that is a member of the Java collection framework. It belongs to java.util package. The class provides various static methods for manipulating arrays efficiently. It simplifies common operations (like searching, sorting, copying and comparison) on the arrays. To read more Java Arrays Why Use the Java Arrays Class? The main reason for using […]

Java Array length Property

In Java, the array length is the number of elements that an array can hold. There is no predefined method to obtain the length of an array. We can find the array length in Java by using the array attribute length. We use this attribute with the array name. Array length Attribute Java provides an attribute length that determines the length of an array. Every […]

Difference between method overloading and method overriding in java

There are many differences between method overloading and method overriding in java. A list of differences between method overloading and method overriding are given below: No. Method Overloading Method Overriding 1) Method overloading is used to increase the readability of the program. Method overriding is used to provide the specific implementation of the method that is already provided by […]

Difference between object and class

There are many differences between object and class. A list of differences between object and class are given below: No. Object Class 1) Object is an instance of a class. Class is a blueprint or template from which objects are created. 2) Object is a real world entity such as pen, laptop, mobile, bed, keyboard, mouse, chair etc. Class is a group […]

Scroll to top