Practical solutions

Java Howtos How-To Guides

Solve the problem. Keep building. Collection of Java how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Return an ArrayList in JavaIn this tutorial, we will return an ArrayList from a function in Java. How to Read a Text File in JavaThis tutorial will discuss how to read a text file in Java How to Get the Current Year in JavaThis tutorial demonstrates how to get integer value of the current year in java. How to Create Syllable Counter in JavaIn this tutorial we will discuss how to create a syllable counter in Java How to Create Histogram Program in JavaBy asking the user to input the dice rolls we will print histogram of an array. How to Convert Byte Array to Integer in JavaThis tutorial demonstrates how to convert a byte array to int in Java. How to Clone an Object in JavaThis tutorial demonstrates how to clone an object in Java. How to Instantiate a Queue in JavaThis article introduces how to instantiate a Queue object in Java. How to Encode a URL in JavaThis guide discusses methods on URL encoding in Java. How to Create a Dynamic Array in JavaThis guide teaches how to create a dynamic array in Java. How to Find a Set Intersection in JavaThis article introduces how to find set intersection in Java. How to Declare a Char Array in JavaThis article introduces how to declare a char array in Java. How to Copy a String in JavaThis article introduces various methods to copy a string in Java, each offering unique advantages and use cases. How to Sort a HashMap by Key in JavaThis article introduces how to sort a HashMap by key in Java. How to Throw Multiple Exception in JavaIn this tutorial we will throw multiple exceptions in Java. How to Sort a Set in JavaIn this tutorial we will sort a set in Java How to Sort a List in JavaThis tutorial demonstrates how to sort an ArrayList How to Pass by Reference in JavaThis tutorial demonstrates pass by reference method in Java How to Parse JSON in JavaThis tutorial demonstrates how to parse JSON in java. How to Create a Concurrent List in JavaThis article introduces how to make a concurrent list in Java. Differences between HashMap, HashSet and Hashtable in JavaIn this tutorial we will discussing about HashMap, HashSet and Hashtable in Java How to Implement Min-Max Heap in JavaThis article introduces how to implement the min-max heap in Java How to Create an Array of Objects in JavaThis article introduces how to create an array of objects in Java How to Use a Logger in JavaThis article introduces how to use a logger in Java.