You are on page 1of 1

ADITYA COLLEGE OF ENGINEERING

PUNGANUR ROAD, MADANAPALLE-517325


II B.Tech(R20) I sem I Internal Examinations 2023 - 24 (Objective)
OBJECT ORIENTED PROGRAMMING THROUGH JAVA 20A05302T
Common to both CSE (A&B)

Time : 20 min Max Marks : 10

Reg. No. Total Marks

_________________________________________________________________________________
Answer all the questions. Each question carries equal marks (20 X ½=10 marks)
1. What is abstract class?
2. What are the commands are used for java program compilation and execution ?
3. What is the size of long double data type?
4. JRE stands for
5. What is the extension of java file?
6. What is the use of throw keyword ?
7. What is the use of finally block ?
8. What is the numerical range of a char data type in Java?
9. What are ternary(conditional) operators.
10. What is the super class for all exception classes?

( Fill in the blanks Q. no 11 to 20 )


11 Write the output for the following -------------
int g = 3;
System.out.print(++g * 8);
12 _________________keyword is used to restrict the a class from inheritance
13 What type of file will be created after compile the java program ______________________
14 Which class object is used to get dynamic input ________________________________
15 _________________key word is used to restrict a variable from inheritance ___________
16 _______________method is used to call garbage collection
17 How will you create a abstract class ______________________
18 What are the two types of Polymorphism_______________, _____________
19 What keyword is used to inherit the class from interface______________________
20 Write the syntax to access the inner interface methods ________________________

You might also like