0% found this document useful (0 votes)
15 views

Module 1 Java Programs

Programs

Uploaded by

Alan Boby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Module 1 Java Programs

Programs

Uploaded by

Alan Boby
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Page |1

JAVA PROGRAMS
MODULE 1
1. Write a Java Program to Print “Hello World Message”.
Page |2

2. Write a Java Program to read a number from keyboard and display the number.
Page |3

3. Write a Java Program to Perform all mathematical Calculations.


Page |4

4. Read two numbers and print the largest number.


Page |5

5. Read three numbers and print the largest number.


Page |6

6. Write a Java program to read a number from keyboard and check it is Armstrong or not.
Page |7

7. Write a Java program to read a number from keyboard and check it is Prime or not.
Page |8

8. Write a Java program to read a number from keyboard and check it is Palindrome or not.
Page |9

9. Write a Java Program to display the sum elements in a number.


P a g e | 10

10. Write a Java Program to display reverse of a number.

You might also like