problem 1: a) Define Object Oriented Paradigm? Describe advantages of Object Oriented Programming.
b) What is polymorphism? describe advantages of polymorphism with the ex.
problem 2: a) describe platform independence? Describe why java is secure and platform independent.
b) prepare a program in java to generate Fibonnaci Series.
c) prepare the advantage of Unicode.
d) describe the importance of PATH and CLASS PATH.
problem 3: a) Define exception? Create the exception subclass named MyException to handle user generate exceptions in Java.
b) Define abstract class? What are advantages of using abstract class? prepare the program in Java to describe abstract class and multilevel inheritance.
problem 4: Differentiate the following and support with the ex:
• Final and static member
• Inheritance and Aggregation
• Abstract class and Interface
• String and String Buffer
problem 5: a) Name the classes in Java available for file handling? prepare the program in Java to append content at the end of an already existing file.
b) Describe the difference between checked and unchecked exceptions with ex.
problem 6: a) describe multithreading? Describe the two ways of creating threads in Java programs. Also describe difference between notify() and notify All( ) methods.
b) What is need of Layout Manager? describe different layouts available in Java.
problem 7: a) What do you understand by the term Applet? prepare the applet that prints "Lear Java it is useful" at present cursor position whenever the mouse left button is clicked.
b) Consider a class which stores the Bank account holder's name, account number, ATM card number, account balance and ATM PIN. prepare the program to store data onto a disk file, except for account balance and ATM PIN. Use serialization and transient variables.
problem 8: a) prepare Java program to set up JDBC and execute the following:
QL statement on a database table employee-t with the fields
emp-id, emp name, emp-department, empbasic
"SELECT * FROM employee-t where emp-basic < 10000.
b) describe Java Bean ? Describe its advantages?