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
- Host: GitHub
- URL: https://github.com/valentinefernandes/java-coding-questions
- Owner: ValentineFernandes
- License: mit
- Created: 2022-07-23T09:33:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-23T10:21:33.000Z (about 3 years ago)
- Last Synced: 2025-04-17T20:39:08.870Z (6 months ago)
- Topics: interview-questions, java, java-8
- Language: Java
- Homepage:
- Size: 37.1 KB
- Stars: 8
- Watchers: 0
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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().