// Anna University, Chennai / 2023
Anna University — Object Oriented Programming (CS3391), November/December 2023
Object Oriented Programming · CS3391 · R2021 · 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.
What is an array? How multidimensional arrays are implemented in Java?
No verified answer or solution is available for this question.
Name the access modifiers in Java.
No verified answer or solution is available for this question.
Define inheritance.
No verified answer or solution is available for this question.
How can a subclass can call a constructor defined by its superclass?
No verified answer or solution is available for this question.
Outline the difference between unchecked exceptions and checked exceptions.
No verified answer or solution is available for this question.
Name the methods used by Java for interprocess communication to avoid polling.
No verified answer or solution is available for this question.
What are streams?
No verified answer or solution is available for this question.
Why parameterized types are important?
No verified answer or solution is available for this question.
What is JavaFX?
No verified answer or solution is available for this question.
Write a note on HBox and VBox.
No verified answer or solution is available for this question.
(a) (i) List the symbols that are used as separators in Java and present an outline of the same. (7) (ii) Outline the primitive types of data in Java. (6) (OR) (b) (i) Outline the bitwise operators in Java that can be applied to the integer type. (7) (ii) Outline while and do-while iteration statements in Java with its general form. (6)
No verified answer or solution is available for this question.
(a) Outline method overloading and method overriding in Java with code fragments. (13) (OR) (b) What is an interface? How to define an interface? How one or more classes can implement an interface? Outline with code fragments. (13)
No verified answer or solution is available for this question.
(a) (i) What is a Java exception? How Java exception handling is managed? Outline. (7) (ii) Outline Java's checked exceptions defined a java.lang package. (6) (OR) (b) Present an outline of Java's multithreading system. Also outline the two ways to create a thread. (13)
No verified answer or solution is available for this question.
(a) (i) Outline reading console input and writing console output in Java. (8) (ii) Present an outline of FileInputStream and FileOutputStream classes. (5) (OR) (b) What is StringBuffer? Name and outline the constructors defined by StringBuffer with code fragments. (13)
No verified answer or solution is available for this question.
(a) What is a button? Name and outline the types of buttons JavaFX provides with visual representations. (13) (OR) (b) Name and outline the types of panes JavaFX provides for organizing nodes in a container. (13)
No verified answer or solution is available for this question.
- 2023
- 2021
Also asked in Anna University — Object Oriented Programming (CS8392), November/December 2021 (2021).
(a) Write a Java program to accept 'n' names, store it in an array, sort the names in alphabetic order and display the result. Use classes and methods. (15) (OR) (b) Write a Java program to accept two square matrices, store them in an array, add the matrices and display the result. Use classes and methods. (15)
No verified answer or solution is available for this question.