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

Java 3

The document is an examination paper for a course on Object Oriented Programming using Java, consisting of multiple-choice questions, short answer questions, and long answer questions. It covers various topics including Java syntax, object definitions, inheritance, loops, and exception handling. The paper is structured into four sections, with specific instructions for each section regarding the number of questions to attempt.

Uploaded by

Nancy Rathi
Copyright
© All Rights Reserved
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)
6 views2 pages

Java 3

The document is an examination paper for a course on Object Oriented Programming using Java, consisting of multiple-choice questions, short answer questions, and long answer questions. It covers various topics including Java syntax, object definitions, inheritance, loops, and exception handling. The paper is structured into four sections, with specific instructions for each section regarding the number of questions to attempt.

Uploaded by

Nancy Rathi
Copyright
© All Rights Reserved
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

220844 Q.

5 The wrapping up of data and functions into a single


No. of Printed Pages : 4
Roll No. .................. unit is called.
a) Abstraction b) Encapsulation
4th Sem. Computer, Computer (For Speech and Hearing Impaired)
Sub. : Object Oriented Programming using Java c) Data Hiding d) Polymorphism
Q.6 Which Keyword is used to declare an abstract class in
Time : 3 Hrs. M.M. : 60 Java.
SECTION-A a) Create b) Abstract
Note: Multiple type Questions. All Questions are c) Class d) Interface
compulsory. (6x1=6)
Q.1 Which Company developed Java. SECTION-B
a) Microsoft b) Apple Note: Objective/Completion type questions. All questions
are compulsory. (6x1=6)
c) IBM d) Sun Microsystem
Q.7 Define Object.
Q.2 Which of the following is an entry controlled Loop.
Q.8 How comments are written in Java.
a) While Loop b) Do-While Loop
Q.9 Name any two types of Inheritance.
c) Both A & B d) None of the above
Q.10 Define Abstract Class.
Q.3 Which Keyword is used to declare a class in Java. Q.11 Expand JDK.
a) Create b) Object Q.12 Define Variable.
c) Class d) New
Q.4 Which keyword is used to handle exceptions in Java. SECTION-C

a) Try b) Throw Note: Short answer type Questions. Attempt any eight
questions out of ten Questions. (8x4=32)
c) Catch d) Finally
Q.13 Explain structure of a Java Program.

(1) 220844 (2) 220844


Q.14 Explain various forms of IF statement.
Q.15 Explain various data type available in Java.
Q.16 Explain any two operators used in Java.
Q.17 Define Array. Explain its types.
Q.18 What is an Exception. How it is handled in Java.
Q.19 Difference between POP & OOPS.
Q.20 Difference between while loop & do-while loop.
Q.21 Explain access specifiers used in Java.
Q.22 Write short note on constructors.

SECTION-D
Note: Long answer questions. Attempt any two questions out
of three Questions. (2x8=16)
Q.23 Define Inheritance. Explain the concept of Multilevel
inheritance with example.
Q.24 Explain various types of Loops with example.
Q.25 Define OOPS. Explain its concepts in detail.

(3) 220844 (3720) (4) 220844

You might also like