Certified Blockchain Solutions Architect (CBSA) — Question 20
A Smart Contract is most like which classical programming object?
Answer options
- A. Class
- B. Variable
- C. Method
- D. Function
Correct answer: D
Explanation
The correct answer is D, as a Smart Contract operates similarly to a function in programming—it contains logic that can be executed and can interact with other contracts or data. Options A, B, and C do not encapsulate the executable logic characteristic of Smart Contracts, making them less comparable.