In a Monday night tweet, presumptive Republican presidential nominee Donald Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE quoted President Barack Obama Barack Hussein ObamaMomentum growing among Republicans for Supreme Court vote before Election Day Warning signs flash for Lindsey Graham in South Carolina Majority of voters say Trump should not nominate a Supreme Court justice: poll MORE, seemingly to mock him.

"In politics, and in life, ignorance is not a virtue." This is a primary reason that President Obama is the worst president in U.S. history! — Donald J. Trump (@realDonaldTrump) May 17, 2016

Obama gave the commencement speech at Rutgers University on Sunday, ending his remarks with an attack on what he said is "anti-intellectualism," saying some have started to think facts and reason are elitist ideals.

ADVERTISEMENT

"Facts, evidence, reason, logic and understanding of science, those are good things," Obama said. "These are qualities you want in people making policy.

"We traditionally have valued those things, but if you were to listen to today's political debate, you might wonder where this strain of anti-intellectualism came from," Obama said. "So, class of 2016, let me be clear as I can be: In politics and in life, ignorance is not a virtue. It's not cool to not know what you're talking about."

President Obama heavily criticized the current political climate and took masked shots at Trump in the address, though he did not mention any specific candidate by name.

Trump's Monday night tweet garnered him some negative attention online.

Ok he's just f--king with everyone https://t.co/GNMBKkIWI2 — Olivia Nuzzi (@Olivianuzzi) May 17, 2016

Ironic. Or moronic. Whatever. His ignorance and lack of virtue primary reasons he'll never be U.S. President. https://t.co/VZn39PHzHX — David Plouffe (@davidplouffe) May 17, 2016

is he saying ignorance is a virtue? https://t.co/2TYl8H9ab4 — Sam Stein (@samsteinhp) May 17, 2016