loader image
Teachics

Java Programs Examples

Learn Java by practicing java programs example.

Java Programs Example

Java program to find distance between two points

Java calculator program using command-line arguments

Java program to display Fibonacci series up to a limit

Java program to display Armstrong numbers within a range

Java program to check whether the triangle is equilateral, isosceles or scalene

Java program to find the smallest and largest element in the array

Java program for base conversion (Decimal to other bases)

Java program to merge to arrays

Java program to find HCF and LCF of two numbers

Java program to convert centimetres to inches, meters and kilometres

Java program to find the trace and transpose of a matrix

Java program to find the sum of the digits and reverse of a number

Java program to check anagram string

Java program to remove all vowels from a string

Java program to find the sum of two complex numbers

Java program to count and display the total number of objects created to a class

Java program to find the volume of cube, rectangular box and cylinder using function overloading

Java program to display odd and even numbers using thread

Java program to display a smiling face