Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
Java-Functions
4.1k+ articles
Android
2.2k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-time package
570+ articles
Java-lang package
380+ articles
java-basics
310+ articles
Java-text package
240+ articles
Programming Language
>
Java
Java
10.1k+ posts
Popular Articles
Recent Articles
Java Tutorial
Last Updated: 22 April 2025
Java is a high-level, object-oriented programming language used to build applications across platforms—from web and mobile apps to enterpr
...read more
Java
Tutorials
Java OOP(Object Oriented Programming) Concepts
Last Updated: 14 April 2025
Java Object-Oriented Programming (OOPs) is a fundamental concept in Java that every developer must understand. It allows developers to struc
...read more
Java
java-basics
Java-Object Oriented
Java Interview Questions and Answers
Last Updated: 05 April 2025
Java is one of the most popular programming languages in the world, known for its versatility, portability, and wide range of applications.
...read more
Java
interview-preparation
Java-Interview
Interview-Questions
Interview Questions
Similar Topics
DSA
22.3k+ articles
Java-Functions
4.1k+ articles
Android
2.2k+ articles
Java Programs
2.1k+ articles
Java - util package
1.5k+ articles
Java-Collections
1.1k+ articles
Java-time package
570+ articles
Java-lang package
380+ articles
java-basics
310+ articles
Java-text package
240+ articles
How to Iterate Any Map in Java?
Last Updated: 18 April 2025
In Java, a Map is a data structure that is used to store key-value pairs. Understanding how to iterate over the elements of a map plays a ve
...read more
Java
Java-Collections
Java-Map-Programs
For-Each Loop in Java
Last Updated: 14 April 2025
The for-each loop in Java (also called the enhanced for loop) was introduced in Java 5 to simplify iteration over arrays and collections.It
...read more
Java
Java-Loops
Reverse a String in Java
Last Updated: 27 March 2025
In Java, reversing a string means reordering the string characters from the last to the first position. Reversing a string is a common task
...read more
Java
Java-Strings
Java Programs
Java-String-Programs
Basic Coding Problems
HashMap in Java
Last Updated: 07 March 2025
In Java, HashMap is part of the Java Collections Framework and is found in the java.util package. It provides the basic implementation of th
...read more
Java
Java-Collections
Java - util package
Java-HashMap
Inheritance in Java
Last Updated: 11 April 2025
Java Inheritance is a fundamental concept in OOP(Object-Oriented Programming). It is the mechanism in Java by which one class is allowed to
...read more
Java
java-inheritance
Arrays in Java
Last Updated: 28 March 2025
Arrays in Java are one of the most fundamental data structures that allow us to store multiple values of the same type in a single variable.
...read more
Java
java-basics
Java-Arrays
Java String split() Method
Last Updated: 11 April 2025
The String split() method in Java is used to split a string into an array of substrings based on matches of the given regular expression or
...read more
Java
Java-Strings
Java-lang package
Java-Functions
java-regular-expression
Arrays.sort() in Java
Last Updated: 08 April 2025
The Arrays.sort() method is used for sorting the elements in an Array. It has two main variations: Sorting the entire array (it may be an in
...read more
Java
Java-Arrays
ArrayList in Java
Last Updated: 12 March 2025
Java ArrayList is a part of the collections framework and it is a class of java.util package. It provides us with dynamic-sized arrays in Ja
...read more
Java
Technical Scripter
Java-Collections
Java - util package
Java-ArrayList
java-list
Java Interface
Last Updated: 28 March 2025
An Interface in Java programming language is defined as an abstract type used to specify the behaviour of a class. An interface in Java is a
...read more
Java
java-interfaces
Collections in Java
Last Updated: 21 March 2025
Any group of individual objects that are represented as a single unit is known as a Java Collection of Objects. In Java, a separate framewor
...read more
Java
Java-Collections
Stack Class in Java
Last Updated: 15 April 2025
The Java Collection framework provides a Stack class, which implements a Stack data structure. The class is based on the basic principle of
...read more
Java
Java-Collections
Java - util package
Java-Stack
1
2
3
4
5
6
7
8
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !