java code to rename all files in a folder

Let’s learn java code to rename all files in a folder. java code to rename all files in a folder Here we are renaming files…

Read More

Java program to print alphabets using ascii values

Let’s learn java program to print alphabets using ascii values. Java program to print alphabets using ascii values To print a to z in java…

Read More

Delete a directory recursively in java 8

Let’s learn to delete a directory recursively in java 8. Delete a directory recursively in java 8 In the below example we are using Files.walk(path)…

Read More

Get current date and time in java 8

Let’s learn to get current date and time in java 8. Get current date and time in java 8 In java.time package we have classes…

Read More

java get current time in milliseconds

Let’s learn java get current time in milliseconds. java get current time in milliseconds To get current time in milliseconds use currentTimeMillis() method of System…

Read More

String charAt() method in java

Let’s learn String charAt() method in java. String charAt() method in java charAt() method returns the char value at the specified index. An index ranges…

Read More

Convert char to string java

Let’s learn to convert char to string java. Convert char to string java Here we are going to convert char to string using Character.toString() method….

Read More

Reverse a string in java without using reverse function

Let’s learn to reverse a string in java without using reverse function. Reverse a string in java without using reverse function We can reverse a…

Read More

Reverse a string in java word by word

Let’s learn to reverse a string in java word by word. Reverse a string in java word by word To reverse a string word by…

Read More

Java program to calculate compound interest

Let’s learn java program to calculate compound interest. Java program to calculate compound interest To calculate compound interest here’s the formula. P (1 + R/n)…

Read More