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
Difference Between
3.6K+ articles
Java Programs
2.0K+ articles
System Design
1.2K+ articles
java-basics
330+ articles
java-inheritance
35+ articles
Object-Oriented-Design
16+ articles
java-overriding
16+ articles
Java-Abstract Class and Interface
9+ articles
Java-Object Oriented
59 posts
Recent Articles
Popular Articles
Static Method in Java With Examples
Last Updated: 02 May 2025
In Java, the static keyword is used to create methods that belongs to the class rather than any specific instance of the class. Any method that uses the static keyword is ...
read more
Java
Picked
Java-Object Oriented
Static Synchronization in Java
Last Updated: 25 June 2024
Synchronization is the potential to regulate the access of multiple threads to any shared resource. Synchronization in Java is essential for reliable communication between...
read more
Java
Picked
Java-Object Oriented
Object Model in Java
Last Updated: 28 January 2022
The object model is a system or interface which is basically used to visualize elements in terms of objects in a software application. It is modeled using object-oriented ...
read more
Java
Picked
Java-Object Oriented
How to Access Inner Classes in Java?
Last Updated: 17 January 2022
In Java, inner class refers to the class that is declared inside class or interface which were mainly introduced, to sum up, same logically relatable classes as Java is pu...
read more
Java
Picked
How To
Java-Object Oriented
Types of Classes in Java
Last Updated: 17 April 2024
A class is a blueprint in the Java programming language from which an individual object can be built. In Java, we may declare a class by using the class keyword. Class mem...
read more
Java
Java-Object Oriented
Rules of Downcasting Objects in Java
Last Updated: 11 March 2022
Typecasting is one of the most important concepts which basically deals with the conversion of one data type to another datatype implicitly or explicitly. In this article,...
read more
Java
Java-Object Oriented
Anonymous Object in Java
Last Updated: 28 April 2025
In Java, an anonymous object is an object that is created without giving it a name. Anonymous objects are often used to create objects on the fly and pass them as argument...
read more
Java
Picked
Java-Object Oriented
7 OOP Design Principles Java Programmers Should Learn in 2023
Last Updated: 23 May 2023
Java is one of the most widely-used object-oriented programming languages today, known for its robustness, cross-platform compatibility, and user-friendly syntax. Java dev...
read more
Java
GBlog
Java-Object Oriented
Diamond Problem in Java
Last Updated: 22 September 2023
Diamond Problem is a problem faced during Multiple Inheritance in Java. Let's see what is Diamond Problem and how to solve this problem.What is a Diamond Problem in Java?I...
read more
Java
Java-Object Oriented
java-inheritance
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
Java Exercises - Basic to Advanced Java Practice Programs with Solutions
Last Updated: 02 January 2025
Looking for Java exercises to test your Java skills, then explore our topic-wise Java practice exercises? Here you will get 25 plus practice problems that help to upscale...
read more
Java
Java Programs
Output of Java Program
Java-Library
Java-Output
Java-I/O
java-basics
Java-Object Oriented
Java-Strings
Java-Arrays
Java-Data Types
Java-Functions
How to Compare Objects by Multiple Fields in Java?
Last Updated: 28 February 2024
In Java, A comparator interface is used to order the objects of user-defined classes. A comparator object is capable of comparing two objects of the same class. In this ar...
read more
Java
Java Programs
Picked
Java-Object Oriented
Java Examples
Why Java doesn't support Multiple Inheritance?
Last Updated: 20 March 2024
Multiple Inheritance is a feature provided by OOPS, it helps us to create a class that can inherit the properties from more than one parent. Some of the programming langua...
read more
Java
Java-Object Oriented
java-inheritance
Inheritance
dot(.) Operator in Java
Last Updated: 12 September 2024
The dot (.) operator is one of the most frequently used operators in Java. It is essential for accessing members of classes and objects, such as methods, fields, and inner...
read more
Java
Picked
Java-Object Oriented
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
3
4
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 !