Java Programs asked in Interviews

  Intermediate Level Question asked :

  1. Write a Java Program to execute program without main() method.
  2. Write a Java program to print semicolon without using semicolon.
  3. Write a Java Program for multiplication of a Table.
  4. Write a Java Program for Addition of Two Number
  5. Write a Java program to find largest number among three .
  6. Write a Java Program to check number is Odd or Even.
  7. Write a Java Program to check Number is Odd or Even without operator
  8. Write a Java Program to print Fibonacci Series.
  9. Write a Java program to find Factorial of a Number.
  10.  Write a Java program to swapping a two number.
  11. Write a Java program to swapping a two number without third variable.
  12. Write a Java Program to check Prime Number.
  13. Write a Java Program to remove white space from String.
  14. Write a Java program if input array is like {10,20,30,40} then output should be like {90,80,70,60}.
  15. Write a Java program to find element using Linear Search.
  16. Write a Java program to Sorting using bubble Sort.
  17. How to Convert String Array to List in Java.
  18. How to Convert String to int in Java.
  19. Write a java program to reverse of a number.
  20. Write a Java Program to check number is Palindrome or not.
  21. Write a Java Program to check Armstrong Number.
  22. Write a Java program to find sum of  digit in a number.
  23. Write a Java program to find sum of all even digit in anumber.
  24. How To Remove Duplicate value from an Array.
  25. Write a Java program to reverse of an Array.
  26. Write a Java program to find Smallest and Largest Number inArray.
  27. Write a Java Program to find Largest two number in Array.
  28. Write a java program to sorting of an Array.
  29. Write a Java program to convert Decimal Number into Binary.
  30. Write a Java program to reverse of a String.
  31. Write a Java Program to check String is Palindrome or not.
  32. Write a Java program to drawNumber pattern.

Advanced Level Question asked :



No comments:

Post a Comment

No of Occurrence in Array

package com.tutorial4u; import java.util.HashMap; /************************************************************  No of Occurrence in Array...