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 Find the Index of an Element in a List Using JavaThis tutorial will discuss how to find an index of an element in a list using Java. How to Downcast in JavaThis tutorial will discuss the downcasting in Java. How to Call REST API in JavaThis tutorial discusses the REST API, its key features and working in Java. It also demonstrates how we can call it in Java. How to Create Excel File in JavaThis tutorial demonstrates how to create an excel file in Java. How to Implement Concurrent Queue in JavaIn this article, we will look at some of the most effective implementations of concurrent queues in Java, as well as discuss which ones need to be utilized. How to Install Java Using BrewIn this guide, we will learn how to install Java using BREW. How to Convert Number to Words in JavaThis tutorial demonstrates how to convert numbers to words in Java. How to Add Certificate to Java KeystoreHere we will learn about how to add a cert to Java Keystore. How to Solve Eight Queens Problem in JavaThis tutorial demonstrates the eight queens problem in Java. How to Parse XML to Java ObjectThis tutorial discusses how to parse XML to Java object. How to Handle Integer Overflow and Underflow in JavaThis tutorial discusses handling integer overflow and underflow in Java. How to Create SSH Connection in JavaThis tutorial discusses using JSch and Apache Mina SSHD library to create SSH connection in Java. How to Create gitignore File for JavaThis tutorial discusses gitignore in Java and describes the rules to follow when creating gitignore manually. How to Get Day of Week in JavaThis tutorial demonstrates how to get the day of the week in Java. How to Decompile Java ClassThis article discusses how to decompile a Java class file. How to Fix java.lang.reflect.InvocationTargetException Error in JavaThis article talks about InvocationTargetException error in Java. How to Fix ExceptionInInitializer Error in JavaThis article talks about the ExceptionInInitializerError in Java. How to Find Unique Values in Java ArrayListThis tutorial will discuss how to find unique values in Java. How to Disable SSL Validation in JavaThis tutorial demonstrates how to disable SSL validation in Java. How to Convert InputStream to the File Object in JavaThis tutorial demonstrates different ways to convert InputStream to the File object in Java. How to Pretty-Print JSON Data in JavaThis tutorial will discuss the JSON Pretty-Print in Java. How to Get Current Timestamp in ISO 8601 FormatThis tutorial educates about ISO 8601 date format, its importance, and its use in Java. It also lists a few advantages to highlight why one should use ISO format for date representation. How to Define a Static Method in Java InterfaceThis tutorial demonstrates how to define static methods in a Java interface, what are rules for that and why we can't override these static methods. How to Limit Java SSL Debug LoggingToday, we will learn about Java SSL debug, its importance, various utilities and how to use one or multiple in a single command.