Java Programs

List of various java programs is given below. These java programs will help you to build your basic java programming knowledge.

Java Programs

1)SUM OF FIRST N NUMBER

2)CHECK NUMBER IS PRIME OR NOT

3)SQUARE ROOT OF NUMBER

4)REVERSE NUMBER

5)REVERSE STRING

6)ODD EVEN NUMBER

7)PALINDROME NUMBER IN NUMBER

8)MULTIPLICATION TABLE IN JAVA

9)PERFECT NUMBER PROGRAM

10)FIBONACCI SERIES PROGRAM

11)PRIME PALINDROME NUMBER PROGRAM

12)SWAP TWO NUMBERS USING 3rd VARIABLE

13)SWAP TWO NUMBERS WITHOUT 3rd VARIABLE

14)SWAP TWO NUMBERS USING BITWISE OPERATOR

15)PRINT 1 TO 100 WITHOUT LOOP

16)PRINT PRIME NUMBERS BETWEEN 1 TO N NUMBERS

17)FACTORIAL OF NUMBER

18)FACTORIAL OF NUMBER USING RECURSION

19)SUM OF DIGITS OF NUMBER

20)STRONG NUMBER

21)ARMSTRONG NUMBER

22)DECIMAL TO BINARY PROGRAM

23)DECIMAL TO OCTAL PROGRAM

24)DECIMAL TO HEXADECIMAL PROGRAM

25)BINARY TO DECIMAL PROGRAM

26)OCTAL TO DECIMAL PROGRAM

27)HEXADECIMAL TO DECIMAL PROGRAM

28)DIAMOND PATTERN PROGRAM

29)EQUILATERAL TRIANGLE PROGRAM

30)INVERTED EQUILATERAL TRIANGLE PROGRAM

31)PRINT TRIANGLE OF NUMBER PROGRAM

32)RIGHT ANGLE TRIANGLE PROGRAM

33)REVERSE RIGHT ANGLE TRIANGLE PROGRAM

34)MIRROR RIGHT ANGLE TRIANGLE PROGRAM

35)REVERSE MIRROR RIGHT ANGLE TRIANGLE PROGRAM

36)PRINT SQUARE PATTERN PROGRAM








How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!