Object Oriented Programming with Java (CS2024) End Semester Dec 2024 Question Paper

RV University End Semester exam for Object Oriented Programming with Java (CS2024), held Dec 2024, semester 3, with 4 questions. Also searched as OOP, JAVA. Last updated 2026-11-14.

Questions

  1. 1. Create a Java class Book that stores information about a book using constructor overloading. Implement using ‘this’ keyword and three constructors: i) A default constructor that initializes the title to "Unknown Title," the author to "Unknown Author," and the price to 0.0. ii) A
  2. 2. Develop a Java program to create a base class Student with the following fields: rollNo, name, branch, year, and totalMarks. Implement a displayGrade() method in the Student class. Derive two subclasses, UGStudent and PGStudent, and use them to display grades based on the totalMa
  3. 3. a. Explain the need for interfaces in Java.b. Design a Java package for numbers. Develop two different classes that belong to two packages, one to check whether the given number is palindrome or not and the other to check whether the
  4. 4. a. Analyze the following Java code snippet and identify all the exceptions that may arise when running it. Rewrite the code to handle multiple exceptions properly, ensuring that the program provides clear error messages and completes without crashing. class Main{public static voi

More Object Oriented Programming with Java papers

Browse more RVU papers

RVU 3rd semester previous year question papers · RVU End-sem previous year question papers · RVU School of Computer Science and Engineering (SoCSE) question papers