When I read contract A Is B can this be read as contract A extends from contract B ?

Is is a mechanism for inheriting behavior, this is equivalent to objects inheriting behavior in object oriented languages ?

Searching for is on http://solidity.readthedocs.io/en/latest/search.html?q=is+&check_keywords=yes&area=default does not yield results.

Where to find list of solidity keywords or is reading doc https://media.readthedocs.org/pdf/solidity/develop/solidity.pdf required ?


The is keyword (not "Is") is used for inheritance in Solidity.

The closest thing to a list of keywords in the Solidity docs is this section which has:

  • Global Variables
  • Function Visibility Specifiers
  • Modifiers
  • Reserved Keywords
  • Language Grammar
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.