0% found this document useful (0 votes)
2 views1 page

Java Syllabus

The document lists various Java programming tasks, including displaying 'Hello World', finding maximum numbers, checking odd/even status, and handling exceptions. It also covers concepts like inheritance, method overloading, and threading. Each task is aimed at demonstrating different Java programming principles and functionalities.

Uploaded by

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

Java Syllabus

The document lists various Java programming tasks, including displaying 'Hello World', finding maximum numbers, checking odd/even status, and handling exceptions. It also covers concepts like inheritance, method overloading, and threading. Each task is aimed at demonstrating different Java programming principles and functionalities.

Uploaded by

charancm
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1. Java program to display “Hello World” and display the size of all the data types.

2. Java program to find the maximum of three numbers

3. Java program to check whether the number is odd or even.

4. Java program to implement an applet

5. Java program to demonstrate a division by zero exception

6. Java program to catch negative array size Exception. This exception is caused when the array is
initialized to negative values.

7. Java program to handle null pointer exception and use the “finally” method to display a
message to the user.

8. Java program to import user-defined packages

9. Java program to implement the usage of static, local and global variables

A. Java program to implement default and parameterized constructors.

B. Java program to implement Single Inheritance

C. Java program to implement Multiple Inheritance using Interface

D. Java program to add two integers and two float numbers. When no arguments are supplied
give a default value to calculate the sum. Use method overloading.

E. Java program that demonstrates run-time polymorphism.

F. Java program to check whether a number is palindrome or not

G. Java program to find the factorial of a list of numbers reading input as command line
argument.

H. Java program to display all prime numbers between two limits.

I. Java program to create a thread using Runnable Interface

You might also like