Skip to content

// Anna University, Chennai / 2025

Anna University — Object Oriented Programming (CS8392), April/May 2025

Object Oriented Programming · CS8392 · R2017 · B.E. Computer Science and Engineering

Files open in a new tab. Use your browser's download or save option to keep a copy.

Work through the questions

16 questions

No verified answers are available for this paper.

  1. Question 1

    Part AUnit 1Descriptive2 marks

    Object-Oriented Programming

    Why java is important to the internet?

    No verified answer or solution is available for this question.

  2. Question 2

    Part AUnit 1Descriptive2 marks

    Object-Oriented Programming

    Define Bytecode and JVM.

    No verified answer or solution is available for this question.

  3. Question 3

    Part AUnit 2Descriptive2 marks

    Object-Oriented Programming

    What are the two uses of super keyword?

    No verified answer or solution is available for this question.

  4. Question 4

    Part AUnit 2Descriptive2 marks

    Object-Oriented Programming

    Write a general form to declare an abstract method.

    No verified answer or solution is available for this question.

  5. Question 5

    Part AUnit 3Descriptive2 marks

    Object-Oriented Programming

    Write the structure of exception hierarchy.

    No verified answer or solution is available for this question.

  6. Question 6

    Part AUnit 3Descriptive2 marks

    Object-Oriented Programming

    List any four character stream I/O classes.

    No verified answer or solution is available for this question.

  7. Question 7

    Part AUnit 4Descriptive2 marks

    Object-Oriented Programming

    What is the method used to set a thread’s priority and what are the values of the argument passed to that method to set thread’s priority?

    No verified answer or solution is available for this question.

  8. Question 8

    Part AUnit 4Descriptive2 marks

    Object-Oriented Programming

    What is the syntax for declaring a generic class in Java?

    No verified answer or solution is available for this question.

  9. Question 9

    Part AUnit 5Descriptive2 marks

    Object-Oriented Programming

    Differentiate between AWT and Swing in Java.

    No verified answer or solution is available for this question.

  10. Question 10

    Part AUnit 5Descriptive2 marks

    Object-Oriented Programming

    How can you add images to a Java Swing application?

    No verified answer or solution is available for this question.

  11. Question 11

    Part BUnit 1Descriptive13 marks

    Object-Oriented Programming

    (a) Explain about different types of constructors implemented in Java. Give suitable examples. (OR) (b) Discuss about different datatypes and operators used in Java.

    No verified answer or solution is available for this question.

  12. Question 12

    Part BUnit 2Descriptive13 marks

    Object-Oriented Programming

    (a) Explain how final keyword is used to prevent overriding and inheritance. (OR) (b) Explain how multiple inheritance concept is implemented in Java using interface. Give suitable example.

    No verified answer or solution is available for this question.

  13. Question 13

    Part BUnit 3Descriptive13 marks

    Object-Oriented Programming

    (a) Discuss in detail about the Java’s Built-in exceptions inside java.lang package. (OR) (b) Explain in detail about Reading and writing to console input and console output in Java.

    No verified answer or solution is available for this question.

  14. Question 14

    Part BUnit 4Descriptive13 marks

    Object-Oriented Programming

    (a) Discuss in detail about the methods in Java’s Inter process communication to avoid polling. (OR) (b) Explain in detail about the concept of bounded type parameters in java generics.

    No verified answer or solution is available for this question.

  15. Question 15

    Part BUnit 5Descriptive13 marks

    Object-Oriented Programming

    (a) Compare and contrast the use of Mouse Listener and Mouse Motion Listener interfaces in java Swing for handling mouse events. Provide examples. (OR) (b) Create a Java Swing application that allows users to select items from a list and display the selected items in a text area.

    No verified answer or solution is available for this question.

  16. Question 16

    Part CUnit 2Descriptive15 marks

    Object-Oriented Programming

    (a) Design an abstract class ‘Bank’ with abstract method ‘calculateInterest()’ and two subclasses ‘SavingsAccount’ and ‘FixedDeposit’ implementing this method. (OR) (b) Implement a super class ‘Animal’ with a protected method ‘eat()’. Create a subclass ‘Dog’ that overrides ‘eat()’ method to print “Dog is eating”.

    No verified answer or solution is available for this question.

Keep preparing

Revisit another year or explore a different paper in the library.

More from this exam