OOP in JAVA BCA Third Semester 2023
i. Which of the following is not primitive data type defined in Java?
ii. Which of the following is not valid declaration of for loop?
a) for(int a=7;a<=77;a+=7)
b) for(int a=99;a>=0;a/9)
c) for(int a=2;a<=20;a=2*a)
d) for(int a-20;a-2; –a)
iii. What is process by which one object acquires all the properties and behaviors of another object?
iv. Which of the following is unchecked exception in java?
iv. Which of the following keyword is used to derive child interface from parent interface?
vi. What is process when two or more threads need to access share resource, they need some way to ensure that resource will used by only one thread at a time?
c) Interthread communication
vii. Which of the following class is used to read data from file in character Stream?
viii. Which of the following is not method of Iterator?
ix. What is name of swing control that is normally display one entry and act as dropdown list?
X. Which of the following JDBC component is used to handle communication with database server?