"Exxon really hasn't done anything in this period. Now, when oil was flying, Exxon didn't do so well, but when oil went down, Exxon showed you the depth of its product, why its model works and why they are the most consistent player," Cramer said on CNBC's "Squawk on the Street."
Cramer made his remarks after the oil giant posted first-quarter profit of $1.17 per share on revenue of $67.62 billion, easily beating Wall Street's forecasts.
"That's why this remains the stock that people can buy without getting in trouble," he added.
Despite the Dow Jones industrial average component having beat top and bottom line forecasts, its earnings per share did drop by almost a full dollar from a year earlier. Revenue fell by almost $40 billion.
Exxon Mobil's stock was up slightly midmorning Thursday.