(a) What is Object Oriented Programming (OOP)? Explain its advantages. Also describe
concept of data hiding in OOP.
(b) Explain different data types available in Java.
(c) Describe features of Java programming language.
(a) What is a class? Define a class in Java and with the help of that class describe meaning of
data members and member functions. Also describe use of different types of access
spcifiers available in Java.
(b) Describe advantages of abstract method. Write a java program to create a Shape class
with an abstract method Find_Area( ). Inherit Circle and Rectangle classes from Shape
class. Implement Find_Area( ) method in derived classes. Make necessary assumptions.
(a) Explain use(s) of following keywords of Java with the help of program/example.
(b) What is interface? How interface is different from abstract class? Write a program in Java
to explain how interfaces are implemented.
(a) What is polymorphism? Explain use of polymorphism in java programming.
(b)What is exception? What are different types of exceptions? Explain need of exceptions
handling with the help of a program.
(a) What is multithreading? Explain advantages of multithreading. Describe use of
setPriority and getPriority methods for Java multithreading. Also describe how threads are
synchronized in Java with the help of a program.
(c) Write program to create an Applet which draw a circle inside a triangle. Keep color of
circle blue and triangle yellow.
(a)What is layout manager? Describe use of flow layout and grid layout with the help of
(b) What is event driven program? Describe different components of event in Java.
(a) Explain use of stream classes in Java. Write a java program to read the contents of a
given file and display it.
(b) Explain use of Socket and DatagramPacket classes.
(a) What is Servlet ? Explain Servlet life cycle. Also explain use of GET and POST
methods of Servlet.
(b) What is JDBC? Explain how connection is establishedin JDBC.
(c) What is RMI? Explain RMI architecture.