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. Perform a single function or a
group of closely related function.
|
Codes:
a
|
b
|
c
|
d
|
|
(A)
|
iv
|
iii
|
ii
|
i
|
(B)
|
ii
|
i
|
iv
|
iii
|
(C)
|
iii
|
iv
|
ii
|
i
|
(D)
|
ii
|
iii
|
iv
|
i
|
Description is coming soon---
No comments:
Post a Comment