Professional Documents
Culture Documents
16BT51241 - Object Oriented Programming
16BT51241 - Object Oriented Programming
16BT51241 - Object Oriented Programming
: 16BT51241 SVEC-16
Roll No.
SREE VIDYANIKETHAN ENGINEERING COLLEGE
(An Autonomous Institution, Affiliated to JNTUA, Ananthapuramu)
1. a) How to create a two dimensional array in Java? Write a program to print CO1 5 Marks
unit matrix of size 5x5.
b) What is meant by parameterized constructor? Explain with an example. CO1 9 Marks
(OR)
2. a) Illustrate how methods are overloaded in Java with an example. CO3 7 Marks
b) List any five methods of string class with its syntax and example on each CO1 7 Marks
of it.
7. a) What is the need of Collection Classes in Java? Discuss about LinkedList CO2 6 Marks
class with an example.
b) Illustrate how TreeSet will be used in Collections with an example. CO4 8 Marks
(OR)
8. a) How do you pass parameters to an Applet in Java? CO4 7 Marks
b) Discuss about various layout managers available in AWT. CO4 7 Marks
1