Topics
Java
About this topic: Articles tagged __TAG__
Showing 1127 articlesRelated tags
Topics
Articles
Showing 1127 articles
How-tos
How to Use Index With forEach in Java
This tutorial will discuss how to use the index with forEach in Java.
↗
How-tos
How to Use Multiple Values for One Switch Case Statement in Java
In this article, we will learn to use multiple values for one switch case statement.
↗
How-tos
How to Convert Milliseconds to Minutes and Seconds in Java
In this article, we will learn how to convert milliseconds to seconds and minutes in Java.
↗
How-tos
Inheritance on an Enum in Java
Discover challenges and techniques in enum inheritance, learning to overcome limitations for code organization.
↗
How-tos
How to Add New Elements to an Array in Java
discuss how to add new elements to an array in Java. Since arrays are fixed size, the possible solution is to use an arraylist or create a new array, copy all the elements from …
↗
How-tos
How to Initialize an Array in Java
It explains the declaration and the two most common ways to initialize an array in Java
↗
How-tos
How to Split a String in Java
discuss how to split a string in Java based on a given parameter
↗
How-tos
How to Check Whether an Array Is Null/Empty in Java
It demonstrates how to check null or an empty array in Java
↗
How-tos
How to Create a New List in Java
The article introduces methods to create a new list in Java
↗
How-tos
How to Check if a String Is a Number in Java
This article introduces how to check whether a string is numeric or not in Java.
↗
How-tos
How to Read a File to a String in Java
Take a look at the several methods by which we can read and convert the file content into a Java string
↗
How-tos
How to Convert String to Double in Java
This article introduces various methods to convert a string to a double value and handling the NumberFormatException
↗
How-tos
How to Check Whether a String Contains a Substring in Java
This article introduces how to check whether a string contains a substring in Java.
↗
How-tos
How to Join Two Lists in Java
Different methods could be used to join two lists in Java without changing the original lists, like stream, Parameterized Constructor, Predeclared List and addAll() method.
↗
How-tos
How to Remove Whitespace From String in Java
This article introduces how to remove whitespace from string in Java.
↗
How-tos
How to Iterate Over Each Element of Map in Java
This article introduces how to iterate map elements in Java.
↗
How-tos
How to Create a File and Write Data to It in Java
The article introduces methods to create a file and write data to it in Java
↗
How-tos
How to Read a Large Text File Line by Line in Java
The article introduces methods to read a large text file line by line efficiently in Java
↗
How-tos
How to Convert Hashmap to JSON Object in Java
This article introduces the methods which allow us to convert a hashmap to a simple JSON object
↗
How-tos
How to Get the Separate Digits of an Int Number in Java
It explains all the methods to separate every single digit of an integer number with examples
↗
How-tos
How to Remove Punctuation From String in Java
This article introduces how to remove punctuation from string in Java.
↗
How-tos
How to Pass a Function as a Parameter in Java
The article introduces methods to pass a function as an argument/parameter to another function in Java
↗
How-tos
How to Convert a String to Long in Java
The article introduces methods to convert a String to a Long in Java
↗
How-tos
How to Convert Date to String in Java
This article introduces how to convert java.util.date to String in Java.
↗
No articles found
Try clearing the filters.