An open API service indexing awesome lists of open source software.

https://github.com/valentinefernandes/java-coding-questions

This repository contains list of java interview coding questions
https://github.com/valentinefernandes/java-coding-questions

interview-questions java java-8

Last synced: 6 months ago
JSON representation

This repository contains list of java interview coding questions

Awesome Lists containing this project

README

          

> Java-Coding-Questions

1. Write a Java Program to reverse a string without using String inbuilt function.
2. Write a Java Program to reverse a string without using String inbuilt function reverse().
3. Write a Java Program to swap two numbers using the third variable.
4. Write a Java Program to swap two numbers without using the third variable.
5. Write a Java Program to count the number of words in a string using HashMap.
6. Write a Java Program to iterate HashMap using While and advance for loop.
7. Write a Java Program to find whether a number is prime or not.
8. Write a Java Program to find whether a string or number is palindrome or not.
9. Write a Java Program for the Fibonacci series.
10. Write a Java Program to iterate ArrayList using for-loop, while-loop, and advance for-loop.
11. Write a Java Program to find the duplicate characters in a string.
12. Write a Java Program to find the second-highest number in an array.
13. Write a Java Program to check Armstrong number.
14. Write a Java Program to remove all white spaces from a string with using replace().
15. Write a Java Program to remove all white spaces from a string without using replace().