Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Java Programs
2.0K+ articles
java-basics
330+ articles
Java-Classes
79+ articles
Java-Object Oriented
59+ articles
JavaTuples
48+ articles
java-reflection-array
20+ articles
Java 19
5+ articles
Java-Class and Object
28 posts
Recent Articles
Popular Articles
Future and FutureTask in java
Last Updated: 08 February 2023
Prerequisite: Future and callableFuture:A Future interface provides methods to check if the computation is complete, to wait for its completion and to retrieve the results...
read more
Java
Technical Scripter
Technical Scripter 2018
Java-Class and Object
java-interfaces
Count number of a class objects created in Java
Last Updated: 10 October 2019
The idea is to use static member in the class to count objects. A static member is shared by all objects of the class, all static data is initialized to zero when the fir...
read more
Java
Technical Scripter
Technical Scripter 2018
Java-Class and Object
Reflection Array Class in Java
Last Updated: 06 August 2024
The Array class in java.lang.reflect package is a part of the Java Reflection. This class provides static methods to create and access Java arrays dynamically. It is a fin...
read more
Java
Java-Class and Object
java-reflection-array
util.Arrays vs reflect.Array in Java with Examples
Last Updated: 21 January 2022
Array class in java.lang.reflect package is a part of the Java Reflection. This class provides static methods to create and access Java arrays dynamically. It is a final c...
read more
Java
Java - util package
Java-Class and Object
java-reflection-array
Java-Array-Programs
Java StringBuilder Class
Last Updated: 08 April 2025
In Java, the StringBuilder class is a part of the java.lang package that provides a mutable sequence of characters. Unlike String (which is immutable), StringBuilder allow...
read more
Java
Java-lang package
Java-Class and Object
Java-StringBuilder
Object Level Lock in Java
Last Updated: 01 April 2024
Every object in Java has a unique lock. Whenever we are using a synchronized keyword, then only the lock concept will come into the picture. An object-level lock is a mech...
read more
Java
Picked
Java-Multithreading
Java-Class and Object
Class Level Lock in Java
Last Updated: 17 January 2022
Every class in Java has a unique lock which is nothing but class level lock. If a thread wants to execute a static synchronized method, then the thread requires a class l...
read more
Java
Picked
Java-Multithreading
Java-Class and Object
How to Create Custom Class in Java?
Last Updated: 20 July 2021
Class is the collection of objects. Class is not a real-world entity it is just only templates and prototypes or blueprints. Class does not occupy memory. We can write a c...
read more
Java
Java-Class and Object
GBlog 2025
Object Resurrection in Java
Last Updated: 18 August 2021
In object-oriented programming languages with garbage collection, object resurrection is when an object comes back to life during the process of object destruction, as a s...
read more
Misc
Java
Java-Class and Object
Class Data Sharing in Java
Last Updated: 03 May 2022
Here we will be discussing one of the features introduced as an ailment in Java10. Here we will be discussing one of the features named class data sharing popularly known ...
read more
Java
Java-Class and Object
Creating Multiple Pools of Objects of Variable Size in Java
Last Updated: 15 September 2021
Object pool pattern is a software creational design pattern that is used in situations where the cost of initializing a class instance is very high. Basically, an Object p...
read more
Java
Java-Class and Object
Difference Between Object and Instance in Java
Last Updated: 24 October 2023
The object is an instance of a class. A class is like a blueprint or template that defines the properties and behavior of objects. When we create an object we are creating...
read more
Java
Difference Between
Geeks Premier League
Java-Class and Object
Geeks Premier League 2023
Java Program to Sort Items By Weight
Last Updated: 29 December 2023
Given two array items and weights which denotes items and their respective weights. Both arrays are of equal length. For every index 'i', items[i] and weights[i] represent...
read more
Java
Java Programs
java-basics
Java-Object Oriented
Java-Class and Object
java-priority-queue
Converting Integer-String HashMap to String-Array-Integer HashMap in Java
Last Updated: 29 December 2023
Efficient Conversion of a HashMapInteger, String into another HashMapString, Integer[] involves organizing integer keys based on their corresponding string values. Here's ...
read more
Java
Java Programs
Java-Collections
Java-Strings
Java-Class and Object
Java-HashMap
Mutable and Immutable Objects in Java
Last Updated: 09 July 2024
Java is a popular object-oriented programming (OOP) language and it's code design revolves around it's objects and their manipulation. One of the key concepts in this OOP ...
read more
Java
Java Programs
Java-Object Oriented
Class and Object
Java-Class and Object
Java-Classes
Java 19
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !