2 ms·You can declare main() as "throws Exception".by JulianMorrison 17y agoYou can declare main() as "throws Exception".