Java Interview Programming Questions

Java interview programming questions to prepare for coding round interview questions for both freshers and experienced level programming questions

Java Interview Programming Questions

Prime or Not in Java 

Mod in Java 

Swap Numbers in Java 

Sum of n Natural Numbers in Java 

Armstrong Number Program in Java 

Check Palindrome String in Java 

Factorial of Number in Java 

Write a Program to Print First 10 Natural Numbers in Java 

Hexadecimal to Decimal in Java 

Java Program to Convert From Octal to Hexadecimal Number 

Decimal to Octal in Java 

Java Program to Print Alphabets From ASCII Values 

Perimeter of Rectangle in Java 

LCM Program in Java Using For Loop 

Java Program to Convert Fahrenheit to Celsius 

Java Program to Extract Digits From a Given Integer 

Increment by 1 All Digits in Java 

Reverse of a Number Using Recursion in Java 

Find the Product of Two Numbers Using Recursion in Java 

Java XOR Operator 

Sum of Digits Using Recursion Function in Java 

Binary Multiplication in Java 

Uppercase to Lowercase in Java 

Number and Return List of Digits in Java 

Boolean Operators in Java 

IP Address in Java 

Java Program to Convert Days into Years Months and Days 

Banking Ticket System in Java 

Array Increment in Java 

Java Program to Sort Words Alphabetically 

Pencil Count Program in Java 

Solve Quadratic Equation in Java 

Cube Root of a Number in Java 

Program to Find Middle Character in String in Java 

Car Parking Management System Project in Java 

Java Program to Calculate Cubic Capacity in Bikes 

Remove an Element from arraylist in Java 

Java Program to Print Odd and Even Numbers From an Array 

Java Program to Find Second Largest Number in an Array 

Java Program to Find Largest Number in an Array 

Print Hello World Without Using a Semicolon in Java 

Nested Method to Perform Mathematical Operations in Java 

Arithmetic Sum of 2 or 3 or 4 Variables by Passing Argument in Java 

Calculation Fill Bucket With Water Mug in Java 

Replace Element in arraylist Java 

Program For Array Rotation in Java 

Pi in Java 

Find Out Duplicate Number Between 1 to N Numbers in Java 

Java Program to Calculate Sum & Average of an Array 

Split Array in Java 

Java Program to Sort Names in an Alphabetical Order 

Hollow Diamond Pattern in Java 

X Star Pattern Java Program 

Pattern Program to Print Triangle Using 100 Numbers 

Arrow Pattern in Java 

Print Star in-between of Numbers in Java 

Java Program to Print Pyramid Pattern of Numbers 

Reverse Triangle Program in Java 

Pyramid Pattern in Java 

Mirrored Right Triangle Star Pattern in Java 

Pascal Triangle in Java 

Star Pattern in Java 

Java Program to Print Pyramid Pattern of Numbers 

Diamond Pattern Numbers in Java 

Pascal Number of Rows in Java 

Triangle Pattern Using Numbers in Java 

Triangle Pattern in Java 

Diamond Pattern of Numbers in Java 

Right Angle Triangle in Java 

Delete Node in a Linked List in Java 

Reversing a Linked List in Java 

Count Number of Nodes in Linked List 

Java Program to Create and Display a Singly Linked List 

Merge Three Singly Linked List Element in Java 

Selection Sort in Java Program 

Descending Order in Java Using For Loop 

Ascending Order Program in Java 

Program for Binary Search in Java 

Radix Sort in Java 

Heap Sort Program in Java 

Insertion Sort in Java Program 

Java Program for Quick Sort 

Merge Sort in Java Program 

Bubble Sort in Java Example 

Ascending Order in Java Program 

Quick Sort in Java 

Bubble Sort Example in Java