List of questions
Related questions
Question 52 - CBDE discussion
Function and Variable Visibility:
A.
a function that is marked as internal cannot be called by other contracts, unless the function is used by a derived contract. Private Functions cannot be called by any other outside contract and public variables are generating automaticallya getter function.
B.
a function that is marked as external can never be called internally. Private functions can also be called by derived contracts using inheritance. Private variables are accessible also in derived contracts.
Your answer:
0 comments
Sorted by
Leave a comment first