Java Tutorial 14. Return statement
Loading...
3,574
Loading...
Uploader Comments (Zantorc)
see all
Video Responses
This video is a response to Java Tutorial 13.2 Enhanced for statements Part 2/2
Loading...
This sucked , didn't help at all , wish tutorials like this would show the full program instead of a part of it
ghostmarine1000 1 year ago
@ghostmarine1000 These are 'Technical Lectures' on Java, aimed at exposing language subtleties for the benefit of compiler writers and those who already know how to program.
Zantorc 1 year ago
client.java:5020: missing return statement } ^
1 error
Press any key to continue . . .
alo456hamadi 1 year ago
@alo456hamadi
If you're using the Sun reference compiler then the method at line 5020 in client.java has a possible path of execution which does not have a return statement. Yet the method does not return void so it should have one. Also I note 'client' has a lower case 'c' - that's OK but not normal. Other than that I don't have enough information to go on.
Zantorc 1 year ago