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