His remarks come a day after he cancelled a planned summit with North Korean dictator Kim Jong Un amid aggressive language from that country.
The commander-in-chief praised America's booming prosperity, where he said we are proud again as America rediscovers its identity and regains its stride. We are respected again.
Trump spoke to 1,042 newly commissioned ensigns and second lieutenants.
"You are warriors, you are champions, and you will lead us only to victory", Trump told the graduates.
"We know that the best way to prevent war is to be fully prepared for war and hopefully we never have to use all of this attractive new powerful new equipment", Trump said.
Mr. Trump said he was given the option of leaving immediately after the ceremony, or staying to shake hands with all the graduates.
On Twitter Friday, Trump said he looks "forward to being with some of the greatest people on earth!"
Trump culminated the section of his address with a simple declaration: "America is back".
President Donald Trump was cheered on by graduates of the U.S. Naval Academy as he delivered a triumphant commencement address Friday.
President Donald Trump waves as he finishes speaking to the media, while walking to the Marine One helicopter Friday, May 25, 2018, on the South Lawn of the White House in Washington. He added "and when did we ever need it more?"
"The best way to prevent war, is to be fully prepared for war", Trump said.
If you want to be elected, it helps to learn to say it with a flat "a" - Neh-VAD-uh.
He also stressed his commitment to veterans. Trump pulled the US out of that summit a day earlier, citing belligerent rhetoric by Kim Jong Un. In his remarks, he highlighted his efforts to increase federal spending and took credit for securing pay increases for the military and more ships.
- NASA's InSight lander on path to Mars
- Samsung ordered to pay $539 million in damages to Apple
- Apple Canada Offers $64 iPhone Out-of-Warranty Battery Replacement Credit
- Ireland's abortion referendum divides country
- Anti-Sterlite protest: DMK demands CM`s resignation, calls for TN bandh
- Latest Ontario Election Polls Show NDP Gaining Ground, Tories Stalling
- 1 of 1 Ferrari SP38 Based on 488 GTB
- IPL 2018: Hyderabad take on KKR in 2nd Qualifier today
- 500,000 Routers In 54 Countries Hacked To Create Massive Botnet Army
- Australian woman sentenced to death for alleged drug smuggling in Malaysia