// Anna University, Chennai / 2023
Anna University — Object Oriented Programming (CS3391), April/May 2023
Object Oriented Programming · CS3391 · R2021 · B.E. Computer Science and Engineering · Semester 4
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 bytecode?
No verified answer or solution is available for this question.
Write the general form of the for-each version of the for statement.
No verified answer or solution is available for this question.
What is the use of final keyword?
No verified answer or solution is available for this question.
How dynamic method resolution is achieved in Java?
No verified answer or solution is available for this question.
List the values associated with the parameters of setpriority( ) method of Thread class?
No verified answer or solution is available for this question.
Define deadlock.
No verified answer or solution is available for this question.
State the purpose of Valueof( ) method in String class.
No verified answer or solution is available for this question.
List any two methods available in DataOutput Interface.
No verified answer or solution is available for this question.
What is the use of adapter class?
No verified answer or solution is available for this question.
List any two forms of CheckBoxMenuItem constructors.
No verified answer or solution is available for this question.
(a) Explain in detail about Java's iteration statements with example. (OR) (b) What is a Constructor? Explain with example.
No verified answer or solution is available for this question.
(a) What is a package? Explain in detail about how the packages provide access control to various categories of visibility for class members. (OR) (b) Explain in detail about the basics of inheritance and elaborate on any two inheritance mechanisms in Java.
No verified answer or solution is available for this question.
(a) Explain in detail about Java's Built-in Exceptions. Explain any three exceptions. (OR) (b) Discuss in detail about the methods to create a thread in Java.
No verified answer or solution is available for this question.
(a) Discuss in detail about the restrictions and limitations of using generics in Java Programming. (OR) (b) Explain the following statement "StringBuffer class create mutable stings". Explain about StringBuffer class. Compare String class with StringBuffer class.
No verified answer or solution is available for this question.
(a) Explain in detail about the commonly used event listener interfaces with a sample program. (OR) (b) Write a Java Program that demonstrates mouse event handlers.
No verified answer or solution is available for this question.
(a) Write a java program with nested try statements that raises divide by zero exception and out of bound exception, if the program contains a statement with division operator and a divisor as a command line argument. (OR) (b) Write a java Program to copy a text file into another text file and to raise exceptions for all cases.
No verified answer or solution is available for this question.