Category Archives: Java



2D Array


  • java program to print a matrix in 2d array
  • Java program to transpose a matrix
  • Java program to add two matrix
  • java program to subtract two matrix
  • Java program to multiply entered matrix


  • Applet Programs


  • Java first applet program to display WELCOME TO SCANFCODE
  • Java applet program to display numerical values
  • Java applet program to display textfields
  • Java program to display sum of two input numbers in applet
  • Java applet program to draw line and rectangle
  • Java applet program to draw circle
  • Java applet program to make face


  • Array Programs


  • Java simple program of defining array
  • Java Program to enter Elements of your choice in Array
  • Java Program to find greatest Element in array
  • Java program to search an entered element in array
  • Java program to sort entered element in the Array
  • Java program to insert an element into sorted array
  • Java Program to print an alternate elements from an array
  • Java program to find prime numbers from array


  • Data Structure Programs


  • Java program to search an element in sorted array using Binary search


  • Formula Programs


  • Java Program to find area of circle of input radius
  • Java program convert Celsius to Fahrenheit
  • Java Program to find Area and Perimeter of a Rectangle


  • Inheritance Programs


  • Java program to understand basic concept of single level inheritance
  • Java program to sum of two numbers in single level inheritance
  • Java program to swap two numbers using single level inheritance
  • Java program to show the concept of multilevel inheritance
  • Java program to find greatest between three numbers using multilevel inheritance
  • Java program to show the concept of hierarchical inheritance


  • Jdbc Programs


  • Jdbc program to retrieve data from database


  • Loop


  • Java Program To Understand For Loop
  • Java Program To Understand While Loop
  • Java program to find Factorial of a Input number
  • Java program to find a table of a input number using for loop
  • Java Program to check Input number is Palindrome or not
  • Java program to find factorial of large number


  • Miscellaneous Programs


  • Java Program to count Currency needed for a Entered Money
  • Java Program to Check for balanced parenthesis by using Stack


  • Number Programs


  • Java Program to sum first and last digit of a number
  • Java Program to find the factors of Entered Number
  • Java program to find greatest between three number using Ternary operator


  • Pattern Programs


  • Java Pattern 1
  • Pattern 2
  • Java program to print number pattern


  • Simple Program


  • First java program
  • Java Program To Sum Of 2 Numbers
  • Java Program Swap Two Number With Third Variable
  • Java Program Swap 2 Numbers Without Third Variable
  • Java Program To Find Enter Year Is A Leap Year Or Not
  • Java Program To Check Input Number Is Even Or Odd
  • Java Program To Find Greatest Between Three Numbers
  • Java Program To find a reverse of a input number
  • Java program to print a Fibonacci series
  • Java program to count number of Digits in the Input
  • Java Program to find Square root of a input number
  • Java program to find Ascii value of input character or symbol
  • Java program to check input Alphabet is Vowel or not
  • Java program to check entered number is prime or not


  • String Programs


  • Java program to convert string into uppercase
  • Java program to covert string into lowercase
  • Java program to concat two string using + operator


  • Swing Programs


  • Java program to change label text on button click
  • Java swing program to make signup form
  • Java program to connect two swing frames


  • Trickey Programs


  • Java program to sum of two numbers without using + operator