UGC Net Computer Science December 13 Paper 3 Page 2 Solved
11. Match the following style rules for reusability :
List – I List – II
a. Keep methods coherent i. Write a method to get the last element of a list
b. Keep methods small ii. Maintain parallel structure when possible
c. Keep methods consistent iii. Breaking a method into smaller parts
d. Provide uniform coverage iv. Performs a single function or a group
of closely related functions.