codedamn

State Variables

Created by Kshitij about a year ago

0

No description provided

4 Comments

    0

    why it throws error --> function getter() public view returns(int){ number=number+1; return number; } in getter only I am incrementing and returning it.

    @amansadhwa0874

    Aman Sadhwani

    @amansadhwa0874

    0

    we type uint with variables only?

    @han62839a8a

    Han

    @han62839a8a

    0

    If we are declaring a variable in our contract and give it a value in a function or a constructor, will it be considered a state variable?

    @guily

    Mehul Ratra

    @guily

    1

    at 4:17 you don't explain how to comment out so many lines at once, but I figured it out its basically you select all the lines of code you'd like commented out with the mouse, then hold down the control key and press the forward slash key and boom its commented out, had to learn this on my own but my only gripe about the video

    @adamwa63c504d4

    Adam Waldrop

    @adamwa63c504d4

Your comment