// 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.
Why java is important to the internet?
No verified answer or solution is available for this question.
Define Bytecode and JVM.
No verified answer or solution is available for this question.
What are the two uses of super keyword?
No verified answer or solution is available for this question.
Write a general form to declare an abstract method.
No verified answer or solution is available for this question.
Write the structure of exception hierarchy.
No verified answer or solution is available for this question.
List any four character stream I/O classes.
No verified answer or solution is available for this question.
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.
What is the syntax for declaring a generic class in Java?
No verified answer or solution is available for this question.
Differentiate between AWT and Swing in Java.
No verified answer or solution is available for this question.
How can you add images to a Java Swing application?
No verified answer or solution is available for this question.
(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.
(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.
(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.
(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.
(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.
(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.