Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 03-13-2018, 03:27 AM   #1
sunled
Registered User
 
Join Date: Nov 2017
Posts: 3,786
If an application has multiple classes in it, is it okay to have a main method in mo

If an application has multiple classes in it, is it okay to have a main method in more than one class?
sunled is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we declare the main method of our class as private? sunled Java 0 03-09-2018 01:03 AM
Can main() method in Java can return any data? sunled Java 0 03-09-2018 01:00 AM
Can we execute a program without main() method? sydneyearplug Java 0 02-22-2018 01:20 AM
Why main method is static? sydneyearplug Java 0 02-22-2018 01:19 AM
What if the static modifier is removed from the signature of the main method? sunled Graphic Design 0 12-04-2017 11:13 PM


All times are GMT -7. The time now is 05:54 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.