Posts by Vedant Nandkumar

Author Biographical Info: Not available

Hangman game in Java

By Vedant Nandkumar

In this Java Program, we implement the popular game Hangman in Java. So let’s start learning how to create a hangman game in Java. Overview of Hangman game in Java: Firstly, .... Read More

Find the last modified date and time of a file in Java

By Vedant Nandkumar

In this Java Program, we find out the last time the file was modified by displaying the date and time it was last modified. This program is easy to implement as there is already a .... Read More

List all the files in a directory in Java

By Vedant Nandkumar

In this program, we list all the files present in a given folder/directory in Java, and if this directory consists of other nested sub-directories, it lists the file from there als.... Read More

Check if a website exists or not in Java

By Vedant Nandkumar

In this Java program, we check whether a URL is valid or not i.e whether the website exists or not. To start the implementation, we follow the following steps: We input the URL whi.... Read More

Java program to convert Decimal into Hexadecimal

By Vedant Nandkumar

This program is used to convert a decimal number into a hexadecimal number in Java. A Decimal number employs 10 as a base and represents any number using 10 digits [0-9]. While A H.... Read More

Remove Duplicate words in a sentence using Java

By Vedant Nandkumar

This program is used to remove words which are repeated in a sentence in order to reduce the duplicate words and reduce the sentence length. Duplicate words add redundancy to the s.... Read More