100 Days Of Solidity, Reading State Variables, Writing State Variables, State Variables.
public view returns (uint) { return num; } } Remember to compile and deploy the contract on an Ethereum development network to interact with it. Detailed Analysis of the Smart Contract The provided `SimpleStorage` contract showcases the reading and writing of a state variable. Let’s take a closer