Java interview questions programs on Basics, OOPs, Methods, Overloading, Overriding, Inheritance, Polymorphism, Interfaces, Packages, Abstract classes, String handling, Exception handling, IO, Collections, Multithreading, Serialization and more.
List of java interview programs
- Program to print alphabets in java.
- Java Arithmetic Operators Example.
- Armstrong number program in java.
- Even odd program in java.
- Factorial program in java .
- Factorial program recursion in java.
- Fibonacci series program in java.
- Palindrome number program in java.
- Prime number program in java.
- Java swap two numbers without using third variable.
- Swap numbers program in java.
- Reverse number program in java.
- Calculate circle area using java.
- Calculate circle perimeter in java.
- Calculate rectangle area using java.
- Calculate rectangle perimeter java.
- Leap year java program code.
- List Even Numbers in Java.
- List Odd Numbers in Java.
- Floyd triangle in java example.
- Generate pyramid for a given number.
- Generate pyramid triangle in java.
- Java cloning deep and shallow
- Write a java program to find duplicate elements in an array?
- Write a java program to find second largest element in an array of integers?
- Write a java program to check the equality of two arrays?
- Write a java program to find all pairs of elements in an integer array whose sum is equal to a given number?
- Write a java program to find continuous sub array whose sum is equal to a given number?
- Write a java program to find the intersection of two arrays?
- Write a java program to separate zeros from non-zeros in an integer array?
- Write a java program to find all the leaders in an integer array?
- Write a java program to find a missing number in an integer array?
- Write a java program to convert an array to ArrayList and an ArrayList to array?
- Write a java program to count occurrences of each element in an array?
- Write a java program to reverse an array without using an additional array?
- Write a java program to remove duplicate elements from an array?
- Write a java program to find union and intersection of multiple arrays?
- Write a java program to find the most frequent element in an array?
- Java star pattern programs
- Java number pattern programs