Question: Why do we use the keyword payable in the following code? address payable [ ] public players; Group of answer choices It converts each address
Why do we use the keyword payable in the following code?
address payable public players;
Group of answer choices
It converts each address that we push to the players array to address payable
It allows the contract to later pay any address that has been pushed to the players array.
It allows any address that is pushed to the players array pay the contract.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
