0% found this document useful (0 votes)
72 views2 pages

Assignment-1: Object Oriented Programming With Java

This assignment document outlines 17 questions for students to answer related to object oriented programming concepts in Java. Students are asked to submit their responses to the questions by September 7th, 2011. The questions cover topics such as the Java Virtual Machine, bytecode, garbage collection, OOP principles, exception handling, inheritance, interfaces, type conversion, and methods of the String, StringBuffer, and Character classes.

Uploaded by

dhaval8patel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views2 pages

Assignment-1: Object Oriented Programming With Java

This assignment document outlines 17 questions for students to answer related to object oriented programming concepts in Java. Students are asked to submit their responses to the questions by September 7th, 2011. The questions cover topics such as the Java Virtual Machine, bytecode, garbage collection, OOP principles, exception handling, inheritance, interfaces, type conversion, and methods of the String, StringBuffer, and Character classes.

Uploaded by

dhaval8patel
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment-1

Object Oriented Programming with Java

Note: - All students have to submit this assignment to the undersigned on or before 7th September 2011.

Q-1 Explain JAVA is Robust and Architectural neutral. Q-2 What is JVM ? Explain its use. Q-3 Explain Byte code and native code. Q-4 Explain Garbage collection with example. Q-5 Explain OOPS principles. Q-6 Explain the advantage of super and this keyword. Q-7 what is wrapper class? Which are the wrapper classes explain. Q-8 What is exception ? Explain the exception handling statements. Q-9 which is the super class of all error and exception classes? Q-10 What is interface ? can interface be extended? Explain with example. Q-11 Explain inheritance with example. Q-12 Does is matter what order catch statements for FileNotFoundException and IOExcepiton are written? Q-13 what is the use of instance of operator? Q-14 Differentiate between
(a) Pass by value and pass by reference explain with example.

(b) Final, Finally and finalize. (c) Type conversion and casting. (d) Static method & abstract method.

Q-15 What is difference between String and StringBuffer class. Explain with example. Q-16 Explain the following methods of Sting and StringBuffer class with examples. Insert , append, concat, equals, compareto, equalIgnorecase, capacity, getChars, getBytes, trim, startwith, endwith, substring, toString, replace Q-17 Explain the Character class functions.

Faculty : Mr. Rajesh Patel

You might also like