@roya1999
Access modifiers in Solidity:
- Private: grant access only within a contract.
- Internal: grant access within the contract & all the contracts that inherit it.
- External: grant access only outside of the contract.
- Public: grant access within the contract as well as outside of the contract.