Skip to content

hegdepavankumar/Top_50_Java_Programming_Interview_Questions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Top_50_Java_Programming_Interview_Questions

GitHub GitHub top language GitHub last commit ViewCount


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