A method that returns 'void' means it does not return anything.
Void methods usually change something. Ie. Mutator methods that change a variable.
And for methods that return something:
Say you wanted to get the value of a private variable of another class, you would use an accessor method to return this variable.
Methods that return void return nothing.
The rest return something. Ie. Integers, Strings etc.
travy92Member Since 02 Sep 2007
Offline Last Active Sep 30 2015 08:17 PM
- Group Just Joined
- Active Posts 73
- Profile Views 4698
- Member Title CC Resident
- Age 27 years old
- Birthday December 8, 1992
Smart & funny
Soccer, Tennis, Computers (Programming - VB 6.0)
travy92 hasn't added any friends yet.