Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What will happen if we declare don’t declare the main as static?

Answer Posted / hr@tgksolutions.com

Without utilizing static and without encountering any issues, we may declare the main method. However, the primary method will not be regarded as the program's or application's entry point.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override constructor?

1025


What is string [] java?

951


How we can execute any code even before main method?

1141


What are JVM.JRE, J2EE, JNI?

1101


What will happen if static modifier is removed from the signature of the main method?

970


Can an object be null?

967


How are destructors defined in java?

1033


Can we access instance variables within static methods ?

1095


Does garbage collection occur in permanent generation space in jvm?

1089


Should you use singleton pattern?

936


What happens when heap memory is full?

993


Which sorting algorithm is in place?

971


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

983


What is anagram number?

951


What is the difference between a checked and an unchecked exception?

996