if the method is to be made void, then it cannot have a return statement, all it can do is set the value. Your SeatReserved variable is already a global variable, so what you have in the last post will work, it is known as a set or setter method. All it does is set a value, usually these are done accross classes.
標簽:
the
statement
cannot
method
上傳時間:
2013-12-22
上傳用戶:xaijhqx