CompTIA IT Fundamentals FC0-U61 – Question287

Which of the following works BEST if code needs to be reused or called by other pieces of code?


A.
Function
B. Anonymous block
C. Declaration
D. Formula

Correct Answer: A

Explanation:

Reference: https://www.c-sharpcorner.com/UploadFile/201fc1/what-is-code-reuse-…
#:~:text=Function%20calls%20are%20another%20way,can%20describe%20the%20process%20too