Core java
- 14 February
Count Files in Directory in Java
Using java.io.File Class Before moving forwards, it is important to know the available items in the current directory. You may also create the same structure to follow along with this article. Our current directory (E:\Test) has the following structure: E:\Test – It has seven items, four text files and three folders (FolderA, FolderB, FolderC, File1.txt, […]
- 21 December
Convert System.nanoTime to Seconds in Java
1. Introduction In this article, we will look into How to Convert System.nanoTime() to Seconds in Java. We will look at different solutions to this problem in detail with working examples. Let us first have a quick look into the System.nanoTime() method in Java. 2. System.nanoTime() Method The System.nanoTime() method is a static method of […]
- 06 December
Update Value of Key in HashMap in Java
In this article, we will look at How to Update the Value of a Key in HashMap in Java. We will look at different solutions to this problem in detail with working examples. It is recommended to learn about the concept of collections particularly HashMaps in Java and their working for a seamless understanding. Now, […]
- 29 November
How to Get Variable From Another Class in Java
In this article, you will learn about accessing a variable from another class in a Java Program. To be able to program in any programming language, it is very critical to be able to understand how to use the variables according to your need, and thus it makes it very important to be able to […]
- 29 November
Create Array of Linked Lists in Java
Introduction In this article, we will look at how to Create an Array of Linked Lists in Java. We will look at ways to create an Array of Linked Lists or a List of Linked Lists in detail with working examples. Let us first have a quick peek into the concept of Linked Lists in […]
- 26 November
Check if Date Is Between Two Dates in Java
Introduction In this article, we will discuss and dwell on how to compare dates in Java. The problem statement is : Check if a Date is between two dates in Java. This roughly translates to Given a date, we need to check if it lies between the range of two dates. Let us understand this […]
- 28 October
Convert UUID to String in Java
Introduction In this article, we will have a look on How to Convert UUID to String in Java. We will also shed some light on the concept of UUID, its use, and its corresponding representation in Java class. Let us have a quick look at UUID. UUID: UUID stands for Universally Unique Identifier which identifies […]
- 26 October
Tips to Pass the AWS DevOps Certification in 2022
Before enrolling in an AWS DevOps Certification training program or exam, you should research the credential. The AWS DevOps Certification is a great way to boost your IT career, and when most people think of AWS- the first thing that comes to mind is the certification. It covers all areas a developer needs to get […]
- 25 October
Create Array from 1 to n in Java
Introduction In this article, we will look at How to Create an Array from 1 to n in Java. We need to Initialize Arrays in a sequence of values ranging from 1 to number N. Knowing how we can initialize arrays in different ways will give us deeper insights into Array in Java and allow […]
- 1
- 2
- 3
- …
- 70
- Nextkeyboard_arrow_right