Java Program Example

  1. Write a program to check a number is palindrome or not in java 
  2. Write a program to check a number is prime or not in java
  3. Fibonacci series in java
  4. Draw Number Pattern in java
  5. Write a program to find sum of first 10 natural number in java
  6. Write a program to display first 10 natural number in java
  7. Write a program to find sum of digit in java
  8. Write a program to find area of triangle using Heron's formula in java
  9. Write a program to check a number is even or not in java
  10. Write a program to check a number is Armstrong or not in java
  11. Write a program to find the number of digit in java
  12. Write a program to find factorial of number in java
  13. Write a program to check a number is Automorphic or not in java
  14. Write a program to find HCF of two number in java
  15. Write a program to find LCM of two number in java
  16. Write a program to check a year is leap year or not in java
  17. Write a Java program, in which you input 2 numbers and find the sum and product of the two number in java
  18. Create a program that will accept the salary of an employee and bonus to it in java
  19. Accept a number the display the table of that number in java
  20. Create a temperature converter in java
  21. Write a program to check a number is neon or not in java
  22. Write a program to check a number is Peterson number or not in java
  23. Create a program to demonstrate the use of the Conditional Operator in java
  24. Create a program to demonstrate the use of Unary Operators in java
  25. Create a program to demonstrate the use of Arithmetic Operators in java
  26. Write a program to find the sum of 1/2 - 2/3 + 3/4 - 4/5 +5/6 in java
  27. Write a program to accept a word and pass this word to a function name void display(String str). Display all the vowels present in the word in java.

Comments

Popular posts from this blog

Make a GST Calculator using HTML and JavaScript

How to make simple bill maker by using python tkinter

Write a program to find the sum of 1/2+4/3+5/6+8/7+9/10 using loop in java