Shivaji University, Kolhapur: Question Bank For Mar 2022 (Summer) Examination
Shivaji University, Kolhapur: Question Bank For Mar 2022 (Summer) Examination
Shivaji University, Kolhapur: Question Bank For Mar 2022 (Summer) Examination
a) abstract class
b) parent class
c) Final class
d) None of above
36. A keyword in Java that signals the following block of code handles a specified exception.
a) Error
b) Throw
c) Try/Catch Block
d) Catch
a) display()
b) paint()
c) displayApplet()
d) PrintApplet()
38. What is true about a break?
a) Break stops the execution of entire program
b) Break halts the execution and forces the control out of the loop
c) Break forces the control out of the loop and starts the execution of next iteration
d) Break halts the execution of the loop for certain time frame
a) false
b) true
c) Runtime Error
d) Compilation Error
40. Possible way of creating an exception in Java?
a) 18
b) 24
c) 19
d) 33
43. What will be the output of the following Java code?
a) i i i i i
b) 0 1 2 3 4
c) i j k l m
d) i i i i i i i i i i
44. Which component is responsible to run java program?
a) JVM
b) JDK
c) JIT
d) JRE