Prog_1. Write a program to check
whether a number is prime or not?
Prog_6. Write a program to find duplicate character in a string.
Prog_7. Write a program to check the number of times substring appeared in a string.
Prog_8. Write a program to print the below pattern:
Prog_10. Write a program to print Floyd’s triangle.
Prog_2. Write a program to find
Fibonacci series for a given range.
Prog_3. Write a program to check
whether a given string is palindrome or not?
Prog_4. Write a program to check
whether a number is Armstrong number?
Prog_5. Write a program to find
duplicates in an array.
Prog_6. Write a program to find duplicate character in a string.
Prog_7. Write a program to check the number of times substring appeared in a string.
Prog_8. Write a program to print the below pattern:
112123123412345
Prog_9.
Write a program to print the below pattern:
*
***
*****
*******
*********
***
*****
*******
*********
Prog_10. Write a program to print Floyd’s triangle.
A very useful and well-structured collection of Java programming interview questions. The practical problems covering prime numbers, Fibonacci series, palindromes, Armstrong numbers, arrays, strings, and pattern programs are especially helpful for strengthening core Java logic and problem-solving skills. This is a valuable resource for both beginners preparing for interviews and experienced QA professionals looking to refresh their Java fundamentals.
Reply