Tutorials
Courses
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
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Java Programs
2.0K+ articles
Java-Strings
240+ articles
Java-String-Programs
148+ articles
Java Examples
246+ posts
Recent Articles
Popular Articles
How to Handle Network Timeouts and Retries in Java?
Last Updated: 26 April 2024
In Java, handling network timeouts and retries can be achieved the using different libraries and techniques. One common approach involved using built-in classes such as "H...
read more
Java
Java Programs
Picked
Java-Networking
Java Examples
How to Zip and Unzip Files in Java?
Last Updated: 26 April 2024
In Java Programming we have a lot of features available for solving real-time problems. Here I will explain how to Zip files and How to Unzip files by using Java Programmi...
read more
Java
Java Programs
Picked
Java-Files
Java Examples
How to Retrieve Database Information using Database Meta Data in JDBC?
Last Updated: 26 April 2024
JDBC (Java Database Connectivity) is the standard Java API for connecting and interacting with relational databases. It allowed to the Java applications to execute the SQL...
read more
Java
Java Programs
Picked
JDBC
Java Examples
How to Implement Peer-to-Peer Communication in Java?
Last Updated: 26 April 2024
Peer-to-peer communication is a decentralized form of communication where two or more devices communicate directly with each other without the need for a central server. I...
read more
Java
Java Programs
Picked
Java-Networking
Java Examples
How to Efficiently Remove Duplicates from an Array without using Set?
Last Updated: 27 April 2024
Arrays are a fundamental data structure in Java that stores data of the same type in contiguous memory locations. Removing duplicate elements from an array is a common ope...
read more
Java
Java Programs
Picked
Java-Arrays
Java-Array-Programs
Java Examples
How to Find the Maximum Element in an Array?
Last Updated: 15 November 2024
In Java, the array is a data structure that allows the users to store data of the same type in contiguous memory locations. To find the maximum element in an Array in Java...
read more
Java
Java Programs
Picked
Java-Arrays
Java-Array-Programs
Java Examples
How to Copy Elements from One PriorityQueue to Another in Java?
Last Updated: 27 April 2024
In Java, a priority queue is a data structure that allows the users to store data based on their priority. In this article, we will learn how to copy elements from one pri...
read more
Java
Java Programs
Picked
java-priority-queue
Java Examples
How to Iterate over the Elements of a PriorityQueue in Java?
Last Updated: 27 April 2024
In Java, a Priority Queue is a Data structure that allows the users to store data based on their priority so that the elements with the highest priority can be accessed in...
read more
Java
Java Programs
Picked
java-priority-queue
Java Examples
How to Read an HTTP Response Body as a String in Java?
Last Updated: 26 April 2024
When working with the HTTP requests in Java it's common to need to read the response body returned by the server. In many cases, you may want to read the response body as ...
read more
Java
Java-Strings
Java-String-Programs
Java Examples
How to Connect to a Database Using JDBC with SSL/TLS?
Last Updated: 15 May 2024
Connecting to a database using JDBC with SSL/TLS is nothing but it will Setup a secure connection between the Java program(from IDE, for Example: Eclipse) and the database...
read more
Java
Java Programs
Picked
Java Examples
How to Handle Connection Pooling in JDBC in Java?
Last Updated: 15 May 2024
In Java applications, interacting with the databases using JDBC (Java Database Connectivity), and managing the database connections efficiently is crucial for optimal perf...
read more
Java
Java Programs
Picked
Java Examples
How to Perform a Cascading Delete Using JDBC?
Last Updated: 15 May 2024
In JDBC, the Cascading Delete Operation is a technique of databases that are used to delete the record parent table. In this article, we will learn How to perform a cascad...
read more
Java
Picked
JDBC
Java Examples
How to Secure Communication Using SSL/TLS in Java?
Last Updated: 16 May 2024
Secure Sockets Layer (SSL) or Transport Layer Security (TLS) are cryptographic protocols designed to provide secure communication over the computer network. These protocol...
read more
Java
Java Programs
Picked
Java-Networking
Java Examples
How to Convert a String to URL in Java?
Last Updated: 15 May 2024
In Java, a string is a sequence of characters. A URL, which is short for Uniform Resource Locator, refers to a web resource that specifies its location on a computer netwo...
read more
Java
Java Programs
Picked
Java-URL
Java Examples
How to Check if a String Starts with a Specific Prefix in Java?
Last Updated: 27 August 2024
In Java, to determine if a string starts with a specific prefix, we use the startsWith() method from the String class. This method is useful in various scenarios, includin...
read more
Java
Picked
Java-Strings
Java Examples
1
2
3
4
...
17
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 !