Reply To: what is the purpose again of the "void" and the empy ( ) after stuff?

Forum Archive what is the purpose again of the "void" and the empy ( ) after stuff? Reply To: what is the purpose again of the "void" and the empy ( ) after stuff?

#24072
Jonathan Gonzalez
Participant

    void just means we’re not returning anything within that function/method. If you see something like “int myIntFunction ()” it means you’ll return an int value. The parenthesis are typically used with parameters if you have any. If you don’t have parameters, you just keep them empty.