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

Java

This document is a question paper for the Object Oriented Programming subject at Anadhan Memorial Arts and Science College. It consists of three parts: multiple-choice questions, descriptive questions about data types and arrays, and a section on control statements and Java tokens. The total marks for the paper are 30.

Uploaded by

vanithamca1904
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Java

This document is a question paper for the Object Oriented Programming subject at Anadhan Memorial Arts and Science College. It consists of three parts: multiple-choice questions, descriptive questions about data types and arrays, and a section on control statements and Java tokens. The total marks for the paper are 30.

Uploaded by

vanithamca1904
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Object Oriented Programming - Question Paper

Anadhan Memorial Arts And Science College

(Affiliated to Annamalai University)


Vanniyar Palayam

Subject Name: Object Oriented Programming


Subject Code: 23UA1CC33 Total marks:30

PART – A (6×1=6)
I. Answer all the questions.

1. Which keyword is used to declare a class in Java?


a) define b) object c) class d) public

2. An array stores ____


a) Different data types only
b) Same type of elements
c) Only characters
d) Only numbers

3. A function that calls itself is called:


a) Constructor
b) Recursive function
c) Inline function
d) Static function
4. Which statement terminates a loop?
a) continue
b) break
c) switch

D)case
5. Who is father of Java and its year?

6. What is Recursive function?

PART – B (2×7=14)
II. Answer any Two questions.

1. Explain different data types with examples.


2. Explain arrays and operations with examples.
3. Explain Arithmetic, Relational, Logical and Assignment operators.

PART – C (1×10=10)
III. Answer any One question.

1. Explain the control statements with example.


2. Explain the Java character set and explain the Java Tokens.

All the best

You might also like