engineering recuitment NIELIT Scientific Assistant Mock Test 2025 Programming and Data Structure Java
Match the following.
| i. Overriding | 1. Allows a function or operator to be given more than one definition. |
| ii. Overloading | 2. A function that is called to deallocate memory |
| iii. Destructive | 3. The ability to charge the definition of an inherited method |
1
i - 3, ii - 1 , iii - 2
2
i - 3, ii - 2, iii - 1
3
i - 1, ii - 3, iii - 2
4
i - 2, ii - 3, iii - 1