ASAP HELP

why does mark twain use humor in " a cub pilot"?

1. To characterize riverboat pilots as foolish people
2. To make the climax of the plot more exciting
3. To convince readers that humor is still alive
4. To entertain readers will a lively funny tale