B.Tech. Examination, May 2026
Semester: B.Tech. IV Sem. | Paper Code: TU-832(A)
Subject: Object Oriented Programming with Java | Subject Code: BT-408 | Branch: I.T.
Time: Three Hours | Maximum Marks: 70
Note: Attempt questions from all sections as per instructions.
Section A – Very Short Answer Questions
Attempt all the five questions. Each question carries 2 marks. Very short answer is required not exceeding 75 words. 5 × 2 = 10 Marks
- What is 'super' and 'this' keyword in Java?
- Write some important features of Java.
- What is anonymous inner class? Explain with program.
- Define thread and multithread.
- How iterator will work in Java?
Section B – Short Answer Questions
Attempt any two questions out of the following three questions. Each question carries 9 marks. Short answer is required not exceeding 200 words. 2 × 9 = 18 Marks
- What is operator in Java? Discuss their type with suitable program.
- What is the difference between method overloading (and overriding)? Explain with program in Java.
- Write a Java program to sort the data elements in a given array list.
Section C – Detailed Answer Questions
Attempt any three questions out of the following five questions. Each question carries 14 marks. Answer is required in detail. 3 × 14 = 42 Marks
- What is spring framework in Java? What is the role of Inversion of Control? Explain their types.
- What is multithreading in Java? Explain the life cycle of a thread.
- What is Inheritance? Explain different type of Inheritance with a program.
- Discuss about file input stream and file output stream in Java with suitable examples.
- What is exception handling? How can we create own exception? Explain with program.

