Which programming language element is a block of code that can be reused multiple times to execute a specific task?

IT Questions BankCategory: Ethical HackerWhich programming language element is a block of code that can be reused multiple times to execute a specific task?

Which programming language element is a block of code that can be reused multiple times to execute a specific task?

  • Function
  • JavaScript Object Notation (JSON)
  • Array
  • Class

Explanation: A function is a block of code useful when executing similar tasks regularly throughout a program.

Exam with this question: 10.3.3 Quiz - Tools and Code Analysis Answers

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x