100 Days Of Solidity, Reading State Variables, Writing State Variables, State Variables.
updating its value. 3. `get` Function: — The `get` function enables us to read the current value of `num`. — The function is declared as `public` and `view`. — By calling the `get` function, we can retrieve the value of `num`. By utilizing the `set` function, you can update the value of `num`,