Back to Browse

Can we overload a main() method in Java? || Java Interview Question

64.7K views
May 1, 2018
13:23

Question: Can we overload a main() method in Java?: Answer: Yes, you can overload main method in Java. But the program doesn't execute the overloaded main method when you run your program, you have to call the overloaded main method from the actual main method. that means main method acts as an entry point for the java interpreter to start the execute of the application. where as a loaded main need to be called from main. ~~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: https://www.youtube.com/c/Naveen%20AutomationLabs?sub_confirmation=1 Follow me on my Facebook Page: https://www.facebook.com/groups/naveenqtpexpert/ Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram: https://t.me/joinchat/COJqZQ4enmEt4JACKLNLUg https://vimeo.com/ondemand/webservicesapiautomation Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: https://www.youtube.com/c/Naveen%20AutomationLabs?sub_confirmation=1 Follow me on my Facebook Page: https://www.facebook.com/groups/naveenqtpexpert/ Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram: https://t.me/joinchat/COJqZUPB02r5sB73YMdXEw Paid courses (Recorded) videos: Java & Selenium Course: http://www.naveenautomationlabs.com/p/course-content-selenium-webdriver-is.html API Course: http://www.naveenautomationlabs.com/p/syllabus-course-content-manual-testing.html ➡️Get Our Courses✔️ 📗 Get My Paid Courses at Paid courses (Recorded) videos: Java & Selenium Course: http://www.naveenautomationlabs.com/p/course-content-selenium-webdriver-is.html API Course: http://www.naveenautomationlabs.com/p/syllabus-course-content-manual-testing.html ------------------------------- ✔️SOCIAL NETWORKS Facebook: https://www.facebook.com/groups/naveenqtpexpert/ Twitter: https://twitter.com/naveenkhunteta Blog: http://www.naveenautomationlabs.com -------------------------------- Support My Channel✔️Or Buy Me A Coffee Paypal: https://paypal.me/naveenkhunteta Google Pay: [email protected] -------------------------------- ✔️Thanks for watching! देखने के लिए धन्यवाद Благодаря за гледането 感谢您观看 Merci d'avoir regardé Grazie per la visione Gracias por ver شكرا للمشاهدة

Download

1 formats

Video Formats

360pmp412.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Can we overload a main() method in Java? || Java Interview Question | NatokHD