Popular JAVA Programming Interview Questions - Part 1


Popular JAVA Programming Interview Questions




Prog_1. Write a program to check whether a number is prime or not?




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:

1
12
123
1234
12345



Prog_9. Write a program to print the below pattern:

*
***
*****
*******
*********




Prog_10. Write a program to print Floyd’s triangle.









SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post