The following is a text rebus in the form of Java code:

public class GetBoolean {
    public static void main(String[] args) {
        boolean i = getBoolean();

    private static boolean getBoolean() {
        throw new BOOLEAN();

    private static class BOOLEAN extends RuntimeException {

It represents part of a famous dialogue. What dialogue is that?


1 Answer 1


I think it's the famous exchange from A Few Good Men where the protagonist demands about the death of a soldier answers at a military tribunal from the guilty base commander
Kaffee: I want the truth!
Col. Jessup: You can't handle the truth!
after which Colonel Jessup, played by Jack Nicholson, goes on his rant.

The getBoolean method tries to get the truth (Boolean), but is unable to exception-handle it, causing a RuntimeException.

  • 9
    $\begingroup$ Correct, good job! I originally had b as the variable in the main method, but then realized i would be more appropriate. Too bad the main method didn't put the call to getBoolean in a try/catch block, otherwise it could have handled the truth! $\endgroup$ Commented Apr 3, 2015 at 6:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.