0% found this document useful (0 votes)
5 views

Java MidI QuestionBank

Uploaded by

ranganadh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Java MidI QuestionBank

Uploaded by

ranganadh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like