Reading this thread, it's mentioned what the keywords public, private, internal and external represent, but what is the default specifier for methods and/or attribute contracts in solidty?

1 Answer 1


Functions: the default is public
State variables: the default is internal

You can find more here: http://solidity.readthedocs.io/en/latest/contracts.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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