UNIVERSAL COLLEGE OF ENGINEERING & TECHNOLOGY
Dokiparru (V), Medikondur (M), Guntur – 522 438
Object Oriented Programming Through Java
Question Bank For Mid I
UNIT –III
1. Explain :a). Inheritance b). Types of Inheritance
2. a). Write a program on Multilevel Inheritance
b). Explain the keyword Super and Write a program on Overriding.
3. Explain the following:
a). Interface b). Nested Interface c). Default methods in Interface
4. Explain the following:
a). static methods in Interface b). Annotation
UNIT –IV
1. Explain the following:
a). Auto-boxing and Auto-unboxing
b). Wrapper classes
c). Math and Random classes with any two methods.
2. Explain the Exception handling with the keywords try, catch, and finally with an example
of divide by zero.
3. Explain the following:
a). DateTimeFormatter
b). Re-throwing Exceptions
4. Explain the following:
a). Checked and Un-Checked Exceptions
b). Program on User-Defined Exceptions
UNIT –V
1. Explain the following Classes with 3 methods each.
a). String Class b) StringBuffer Class
2. Explain the following:
a) Multithreading b). Lifecycle of a Thread
3.
a). Write a program on Threads using Thread Class
b). Program on Thread Synchronization
c). Inter-Thread Communication
4. Explain the following:
a) Steps for Establishing JDBC Database Connection
b). ResultSet Interface