java

java

How to remove the first character of a string in Java

Java program to remove the first character of a string. We will learn two different ways to do that. By using the substring() method and by converting the string to a StringBuilder.

Read
java

Java program to print the Neon numbers from 0 to 10000

Java program to print all neon numbers from 0 to 10000. This program will show you what is a Neon number and how to check if a number is Neon or not.

Read
java

Java program to check if a number is a happy number or not

Java program to check if a number is a happy number or not. This program will take one number from the user and print one message if it is a happy number or not.

Read
java

Java program to check if two numbers are Amicable or not

Java program to check if two numbers are amicable or not. We will learn three different methods to check for amicable numbers in Java.

Read
java

Java program to check if a number is Automorphic or not

Java program to check if a number is automorphic or not. This program will take one number as input from the user and print one message that it is automorphic or not.

Read
java

How to remove the first element of an ArrayList in Java

How to remove the first element of an arraylist in Java. We will learn the definition of remove method and how to use it to remove the element at index 0.

Read
java

Java program to add characters to the middle of a string

Java program to add a character to the middle of a string. We will learn different ways in Java to add characters to the middle of strings.

Read
java

How to add a character to the start and end of a string in Java

Java program to add a character to the start and end of a string. We will learn different ways in Java to solve this problem.

Read
java

Java program to convert a decimal to binary format for a float or double value

Java program to convert decimal to binary format for floating-point and double values. Learn the algorithm and java program for decimal to binary conversion.

Read
java

How to find the velocity in Java using user-give values

Java program to find the velocity using user-given values. There are two different formula to find the velocity. This post will show you how to do that in Java.

Read