You are on page 1of 1

MALLA REDDY COLLEGE OF ENGINEERING & TECHNOLOGY

(UGC AUTONOMOUS INSTITUTION – GOVT. OF INDIA)

Department of CSE (AIML | IoT | DS | Cyber Security)

IMPORTANT QUESTIONS FOR MID - I

Subject: OOP through JAVA Class /Year/Sem: II/II

S.No QUESTIONS
UNIT - I
Explain about Java Buzzwords
a
1.
b Discuss various Access Specifiers in Java

2. What is a Constructor? Explain different types of Constructors in Java with program


Explain the uses of this keyword with program
a
3. What is Recursion? Write a java program to find factorial of a given number using
b recursion
Explain different methods in String class with program
4.
What is an array? Write a program for Matrix Multiplication
a
5.
b Define static field, static method and static block with example

UNIT - II
1. What is Inheritance? Explain different types of Inheritance with example program.

a Explain the Uses of super and final keywords


2.
b Explain about Method Overloading

a What is a Package? Explain how to create and access user defined package?
3.
b Difference between Abstract class and Interface

a Explain abstract class with example program


4.
b Explain Method Overriding with example program

a What is an interface? Explain how to extend an interface with program


5.
b Explain about Inner class with program

UNIT - III
a What is an Expection? Distinguish between checked and unchecked Exception
1.
b Illustrate try catch and finally blocks with an example
a Compare final, finally and finalize() in detail
2.
b Create Own Exception class with throw keyword

You might also like