Object Oriented Programming With Java (BCS403) - AKTU Question Paper 2025-26
B.Tech · Semester 4 · Free PDF Download
This is the official AKTU Object Oriented Programming With Java Previous Year Question Paper for B.Tech Semester 4, academic session 2025-26. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Rate this paper
Questions Asked in 2025-26
Object Oriented Programming With Java (BCS403) — complete question paper · 70 marks · 3 Hours
- aState the specific functions of the JVM, JRE, and JDK. Why is the JVM the reason Java is called Platform Independent?
- bWhat is the role of constructors in Java classes and when are they invoked automatically?
- cList the five Exception Handling keywords. Can a try block exist without a catch or finally?
- dDefine a Thread. What is the difference between extending Thread and implementing Runnable?
- eExplain the Diamond Syntax (<>) introduced in Java 7. How does it make generic code easier to write?
- fWhy does TreeSet keep elements in sorted order, while HashSet does not?
- gWhat is Aspect-Oriented Programming (AOP) and how it helps with logging without touching the main business logic?
- aDiscuss the four pillars of Object-Oriented Programming - Encapsulation, Abstraction, Inheritance, and Polymorphism. Also explain how they help in building reusable code. (SEM. IV) THEORY EXAMINATION 2025-26 OBJECT ORIENTED PROGRAMMING WITH JAVA
- bExplain the difference between Byte Streams and Character Streams. Describe the classes used to read and write a simple text file
- cDescribe Sealed Classes and Records in detail. How do these features improve data modeling in Java?
- dGive a detailed description of the Java Collection Framework hierarchy. Also explain the relationship between the Iterable, Collection, and List interfaces
- eExplain Dependency Injection with a real-world example. How does Spring’s Inversion of Control container manage these dependencies?
- aExplain the concept of Method Overriding. How does Java decide which method to call at runtime when a subclass object is assigned to
- asuperclass reference?
- bExplain how packages are defined and used in Java. Discuss the naming conventions for avoiding package name conflicts
- aCreate a Custom Exception class named InvalidPasswordException. Write a program that throws this exception if a user's password is less than 8 characters long
- bWrite a Java program to solve the Producer-Consumer problem using 2 K3 (SEM. IV) THEORY EXAMINATION 2025-26 OBJECT ORIENTED PROGRAMMING WITH JAVA
- ashared buffer and methods - wait() and notify()
- aWhat is a Functional Interface in Java? Write a program that uses Lambda Expressions to perform basic arithmetic operations (Add, Sub, Mul) via a custom Functional Interface
- bWhat is Stream API? Use the Stream API to process a list of Employee objects: filter those with salary > 50000, and print their names in uppercase
- aWrite a Java program using ArrayList to store 5 employee objects (ID, Name, Salary). Sort the list by salary in descending order using a Comparator
- bWrite a Java program that uses a HashMap to store a Phone Book (Name as key, Phone Number as value). Implement a feature to search for a number by name
- aExplain the Spring Bean Lifecycle. Describe the steps from when a bean is instantiated until it is destroyed by the container. (SEM. IV) THEORY EXAMINATION 2025-26 OBJECT ORIENTED PROGRAMMING WITH JAVA
- bExplain the architecture of a RESTful Web Service. How does Spring Boot handle a client request and return a JSON response?
Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.
Object Oriented Programming With Java — Other Year Papers
AKTU Object Oriented Programming With Java PYQs from other sessions
More B.Tech Semester 4 (2025-26) Papers
Other subjects from same semester and session
Syllabus & More PYQs
Paper solve karne se pehle unit-wise syllabus dekh lo