(i) What is Object Oriented paradigm? Explain two differences between
Object Oriented paradigms of programming languages over Structured
paradigm.
(ii) What is message passing? Explain the advantages of message passing.
Question 2:
(i) Explain the advantages of platform independence of Java.
(ii) What is super in Java? Explain different use of super with the help of Java program.
(iii) Explain exception handling in java with the help of a programme.
Question 3:
(i) Write a program in Java for matrix multiplication.
(ii) What is static method? Explain why main method in Java is always
static.
(iii) What is Garbage Collection? Explain the use of finalize () method in Java programming with example.
Question 4:
(i) What is abstract class? Write a program in Java to explain the
use of an abstract class. (5 Marks)
(ii) Explain the need of interface. Also explain the advantage of
interfaces in Java programming with an example.
Question 5:
(i) Write a Java program to create your own exception subclass.
(ii) Differentiate between String and StringBuffer classes. Also write
a program to append a given string to another string.
Question 6:
(i) What is multithreading? Write program to explain how implementing runnable interface in Java creates a thread.
(ii) What are the classes in Java available for file handling? Write a program in Java to create a file and copy the content of an already existing file into it.
Question 7:
(i) What is an Applet? Write a program to show how parameters are
passed in an applet program.
(ii) Explain the different layout managers available in Java. Write
a program to show how a layout can be set in an applet.
