You are on page 1of 2

1) Write a Java program to multiply two given matrices.

2) Write a Java program that checks whether a given string is a palindrome or not. 3) Write a Java program for sorting a given list of names in ascending order. 4) Write a Java program to make frequency count of words in a given text. 5) Write Java programs for implementing the following searching methods: (a) Linear search (b)Binary search 6) Write Java programs for implementing the following sorting methods: (a) Bubble sort(b) Selection sort(c) Insertion sort(d) Quick sort(e) Merge sort(f) Heap sort 7) Write a Java program for student management system -class : Student -attributes -name, department, rollno, marks, rank -methods getData(),rankCalculation(),displayData() (use Constructor,Exception,DataInputStream,Inheritance) 8) What is the difference between a method and a constructor? 9) How do I invoke a constructor? 10) How can I call a constructor from a constructor ? 11) How can I count the number of instances of an object? 12) What is the difference between checked and Unchecked Exceptions in Java ? 13) What are the static fields & static Methods ? 14) What is serialization and its uses ? 15) What are wrapped classes?

16) What are the rules of serialization ? 17) What is difference between error and exception ? 18) How the object oriented approach helps us keep complexity of software development under control? 19) Why is main() method static? 20) Can static block throw exception?

You might also like