Topics

Java

About this topic: Articles tagged __TAG__

Showing 1127 articles

Topics

Articles

Showing 1127 articles

How-tos How to Close a File in Java This article explains how to close a file in Java. How-tos How to Check if String Is Palindrome in Java In this article, we will go through the different ways in Java in which we can find if a string is a palindrome or not. We will use concepts like two pointers, string reversal, and … How-tos How to Change Java Version in MacOS This article teaches how to change the Java version in MacOS. How-tos How to Stub in Java This article describes the topic of stub in Java. How-tos How to Sort a List Using stream.orted() in Java This article explains how to use the Stream sorted() method in Java. This also demonstrates how to use comparator for stream sorting user-defined lists. How-tos How to Get Resource URL and Content in Java This tutorial demonstrates how to get resource URL and read resource files in Java with the getResource() function. How-tos How to Convert Map Values Into a List in Java In this tutorial, we will execute three programs to show you how to convert hash map values into a list in Java. All examples are dynamic and contain useful methods to build a … How-tos How to Convert Collection to List in Java This article provides and explains various methods of converting a collection into a list in Java. How-tos How to Generate MD5 Hash in Java This article discusses MD5 hashing algortihm and method to generate MD5 hash in Java. How-tos How to Check Java Version in Linux This article discusses the methods to check the version of Java on a Linux machine. To check the Java version in Linux, we can use the version command, the whereis command, and the … How-tos How to Handle EOFException in Java This article discusses about the EOFException in Java and how we can handle these exceptions. How-tos How to Create Temporary Files in Java In this article, we discuss the temporary files and the ways to create temporary files in Java using the Java legacy IO and NIO libraries. How-tos How to Use Notepad++ to Compile and Run Java Programs This article demonstrates a step-by-step tutorial on how to use Notepad++ to compile and run Java programs. How-tos How to Reverse an Integer in Java This tutorial demonstrates how to reverse an integer in Java without using an array. How-tos How to Compress Strings in Java This tutorial demonstrates how to compress strings in Java using the deflater. How-tos How to Calculate Logarithm in Java This tutorial demonstrates how to calculate logarithm in Java using the Math.log function. How-tos How to Sort Manual Linked List With Bubble Sort Algorithm in Java First, we will discuss bubble sort algorithm in Java with nodes examples. Then, we will execute two methods to demonstrate how you can sort a linked list using a manual bubble sort … How-tos How to Create PPTP Connection in Java This article demonstrates how can we create PPTP connection using Java Programming. How-tos How to Create Callback Functions in Java This tutorial demonstrates how to create and use callback functions in Java. How-tos How to Configure Java on Debian Linux We demonstrate how to update-alternatives --config java on Debian Linux. Using Debian bash shell, we will use bash commands to install open JDK(s) on a Windows 10 machine. Hence, … How-tos How to Request HTTP Client and Get Response in Java This article will explain HTTP clients and HTTP requests in Java programs. Also, it will get an HTTP response in JSON using the former methods. The first part will enable your … How-tos How to Create a Concurrent Set in Java This tutorial introduces the methods and demonstrates how to create a concurrent set in Java. How-tos How to Draw a Hexagon in Java This article demonstrates how to draw a hexagon in Java programming. It also teaches how we can use arrays and object to draw a shape in Java. How-tos How to Create Generators in Java This tutorial demonstrates how to create generators in Java.

← All topics