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 / zameer

Yes we can override the main() method in java but that main() method are not declare static keyword.
If main() method is static then we can not override

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are getters and setters used?

1008


define the terminology association.

1058


If a class is declared without any access modifiers, where may the class be accessed in java programming?

1147


What is difference between path and classpath?

1089


Difference between static and dynamic class loading.

1064


Is node a data type in java?

956


What is the applet security manager, and what does it provide?

960


What does t in java mean?

953


Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?

994


What is scope of a variable?

1047


How can constructor chaining be done by using the super keyword?

1046


What is the difference between heap memory and stack memory?

1021


Is singleton thread safe in java?

925


How does thread synchronization occurs inside a monitor?

1058


What is run time allocation?

979