Java-Coding-Questions
- Write a Java Program to reverse a string without using String inbuilt function.
- Write a Java Program to reverse a string without using String inbuilt function reverse().
- Write a Java Program to swap two numbers using the third variable.
- Write a Java Program to swap two numbers without using the third variable.
- Write a Java Program to count the number of words in a string using HashMap.
- Write a Java Program to iterate HashMap using While and advance for loop.
- Write a Java Program to find whether a number is prime or not.
- Write a Java Program to find whether a string or number is palindrome or not.
- Write a Java Program for the Fibonacci series.
- Write a Java Program to iterate ArrayList using for-loop, while-loop, and advance for-loop.
- Write a Java Program to find the duplicate characters in a string.
- Write a Java Program to find the second-highest number in an array.
- Write a Java Program to check Armstrong number.
- Write a Java Program to remove all white spaces from a string with using replace().
- Write a Java Program to remove all white spaces from a string without using replace().