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...

can we override the main() method in java????

Answer Posted / kapil

yes we can override the main method but different argument
bcz jvm always look for String[] args argument

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class and what is it’s purpose?

1012


How do you ensure that n threads can access n resources without deadlock?

1353


Explain the scope of a variable.

1145


What is implicit object in java?

1123


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

1043


If a variable is declared as private, where may the variable be accessed?

1108


What is super in java?

1042


How can we run a java program without making any object?

1087


Can a class be final?

985


Why we do exception handling in java and how many types of exceptions are there?

1177


How do you override a variable in java?

1233


What is double parsedouble in java?

1129


Write java program to reverse string without using api?

1104


when a request is generated from apache tomcat 5.5 and goes to oracle 10g or mysql,,, how the oracle or mysql reads the request as apache is a web server and oracle 10g is application server? when the oracle 10g provides response, how the apche tomcat reads it???

2219


Explain the selection sort algorithm and state its time complexity?

1067