Java Programs Collection
1. WAP to find the sum & average of the first N numbers.
// Java code here...
2. WAP to show usage of static members (data & methods).
// Java code here...
3. WAP to swap two numbers without using third variable.
// Java code here...
4. WAP to show the usage of method overriding.
// Java code here...
5. WAP to show usage of method overloading.
// Java code here...
6. WAP to convert temperature from Celsius to Fahrenheit or vice versa.
// Java code here...
7. WAP to accept marks in five subjects and print the division of student.
// Java code here...
8. WAP to perform multiplication of two matrices in Java.
// Java code here...
9. WAP to print the greatest number from the entire array.
// Java code here...
10. WAP to input a string and check if it is palindrome or not?
// Java code here...
11. WAP to input a number and print its square root.
// Java code here...
12. WAP to check if an input string is palindrome or not.
// Java code here...
13. WAP to input a number and print sum of all the digits of that number.
// Java code here...
14. WAP to input a number and print sum of first and last digits.
// Java code here...
15. WAP to accept the year from the user and check if it is a leap year or not?
// Java code here...
16. WAP to show the usage of final method in Java.
// Java code here...
17. WAP to perform addition of two matrices in Java.
// Java code here...
18. WAP to input a number and print whether number is palindrome or not?
// Java code here...
19. WAP to find the factorial of a given number using Recursion.
// Java code here...
20. WAP to input a number and print the reverse of the number.
// Java code here...
21. WAP to show the usage of class & objects.
// Java code here...
22. WAP to display no of digits in an input number.
// Java code here...
23. WAP to show the usage of static and non static members in Java.
// Java code here...
24. WAP to check if an input number of three digits is Armstrong number or odd?
// Java code here...
25. WAP to print the table of an input number.
// Java code here...
26. WAP to show the usages of super & final keyword.
// Java code here...
27. WAP to find out the Area and perimeter of a rectangle.
// Java code here...
28. WAP to calculate the compound interest in Java.
// Java code here...
29. WAP to show the usage of implements keyword.
// Java code here...
30. WAP to display all prime numbers between two input numbers in Java.
// Java code here...
31. WAP to input a year and check if it is leap year or not?
// Java code here...
32. WAP to find the factorial of a given number.
// Java code here...
33. WAP to find the factorial of a number using recursion.
// Java code here...
34. WAP to show the usage of method overloading.
// Java code here...
35. WAP to check if an input number is palindrome or not?
// Java code here...
36. WAP to show the usage of this keyword or static keyword.
// Java code here...
37. WAP to input a number and print the reverse of the number.
// Java code here...
38. WAP to show the usage of abstract class in Java.
// Java code here...
39. WAP to print the reverse of the input number.
// Java code here...
40. WAP to display greatest number from the entire array in Java.
// Java code here...
41. WAP to show the usage of implements keyword.
// Java code here...
42. WAP to print the table of an input number.
// Java code here...
43. WAP to input a number and print sum of all the digits.
// Java code here...
44. WAP to input a number and print sum of all the digits of the number.
// Java code here...
45. WAP to show the usage of method overriding.
// Java code here...
46. WAP to accept the year from the user and check if it is a leap year or not.
// Java code here...
47. WAP to show the usage of any Stream available in Java.
// Java code here...