Number | Question | Solutions |
---|---|---|
1 | How do you reverse a string in Java? | Solution |
2 | How do you swap two numbers without using a third variable in Java? | Solution |
3 | Write a Java program to check if a vowel is present in a string. | Solution |
4 | Write a Java program to check if the given number is a prime number. | Solution |
5 | Write a Java program to print a Fibonacci sequence using recursion. | Solution |
6 | How do you check whether a string is a palindrome in Java? | Solution |
7 | How do you remove spaces from a string in Java? | Solution |
8 | How do you sort an array in Java? | Solution |
9 | How do you reverse a string in Java? | Solution |
10 | How do you check if two strings are anagrams of each other? | Solution |
11 | How do you create text blocks in Java? | Solution |
12 | Write a program to Print 1 to N numbers? | Solution |
13 | Write a program to Print REVERSE of N to 1 numbers? | Solution |
14 | Write a program to display sum of 1 to N numbers? | Solution |
Top 50 Java Interview Questions
License
hegdepavankumar/Top_50_Java_Programming_Interview_Questions
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Top 50 Java Interview Questions
Topics
Resources
License
Security policy
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Packages 0
No packages published