Wit is scholarly humor. Thinking quickly on your feet requires wit. The ability to snap back or to respond with an intellectual as well as entertaining response is witty.
Examples of Wit: