Match the following - List-I (i) A method that is used to create an…
2022
Match the following - List-I (i) A method that is used to create an instantiation of a class (ii) A signal that something has happened to stop normal execution of a program (iii) A graphical image that is usually stored in a file (iv) Converting one type of value to another type is called List-II (a) Bitmap (b) Type casting (c) Exception (d) Constructor
- A.
(i)-b, (ii)-c, (iii)-d, (iv)-a
- B.
(i)-c, (ii)-d, (iii)-b, (iv)-a
- C.
(i)-a, (ii)-b, (iii)-c, (iv)-d
- D.
(i)-d, (ii)-c, (iii)-a, (iv)-b
Attempted by 230 students.
Show answer & explanation
Correct answer: D
The correct matches are: (i) Constructor, as it creates an instance of a class. (ii) Exception, which signals abnormal program execution flow. (iii) Bitmap, representing a graphical image file. (iv) Type casting, converting one data type to another.