The document provides a list of 27 tasks for writing Java programs, covering various concepts such as prime number checking, palindrome checking, factorial calculation, and matrix operations. It also includes tasks on object-oriented programming principles like inheritance, abstract classes, and method overloading. Additionally, it addresses multi-threading and exception handling in Java.
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 ratings0% found this document useful (0 votes)
2 views
programs
The document provides a list of 27 tasks for writing Java programs, covering various concepts such as prime number checking, palindrome checking, factorial calculation, and matrix operations. It also includes tasks on object-oriented programming principles like inheritance, abstract classes, and method overloading. Additionally, it addresses multi-threading and exception handling in Java.
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
You are on page 1/ 1
JAVA INNOVATIVE IT
1. Write a JAVA program to check prime number.
2. Write a JAVA program to check palindrome number. 3. Write a JAVA program to print factorial of a number. 4. Write a JAVA program to check Armstrong number. 5. Write a JAVA program to print sum of digits. 6. Write a JAVA program to reverse given number. 7. Write a JAVA program to swap two numbers without using third variable. 8. Write a JAVA program to print number triangle. 9. Write a JAVA Program to check whether a number is Positive, Negative, or Zero. 10. Write a Program in JAVA to Check Odd or Even Using the Ternary Operator. 11. Write a program in JAVA to enter a matrix and find the maximum element in the array. 12. Write a program in JAVA to multiply two matrices. 13. Write a program in JAVA to enter a matrix and find the maximum element in the array. 14. Write a program in JAVA to perform linear search. 15. Write a program in JAVA to perform Bubble Sort. 16. Write a Java program to create an abstract class named Shape that contains two integers and an empty method named print Area (). Provide three classes named Rectangle, Triangle, and Circle such that each one of the classes extends the class Shape. Each one of the classes contains only the method print Area () that prints the area of the given Shape. 17. Write a java program for Method overloading and Constructor overloading. 18. Write a java program to display the employee details using Scanner class. 19. Write a Java program that implements a multi-thread application that has three threads 20. Write a java program to represent Abstract class with example. 21. Write a java program to implement Interface using extends keyword. 22. Write a java program for creating try catch blocks. 23. Write a program to create a class Student2 along with two method getData(),printData() to get the value through argument and display the data in printData(). Create the two objects s1 ,s2 to declare and access the values from class Student2. 24. Write a program in JAVA to create a class Bird also declares the different parameterized constructor to display the name of Birds. 25. Write a program in JAVA to illustrate the concept of single Inheritance. 26. Write a program in JAVA to illustrate the concept of multi-level inheritance. 27. Write a program in java to generate an abstract class A also class B inherits the class A. generate the object for class B and display the text “call me from B”.