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 a static method be overridden

Answer Posted / mohit kaushik

yes main method can be override example

class mad
{
public static void main(String args[])
{}
}
public class mohit extends
{
public static void main(String args[])
{
System.out.println("HELLO");
}}


output HELLO
ANY question contact me with our email.my id.
mohit_kaushik1234@rediff.com

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why static class in java

1757


How to determine SGA site?

2532


What method is invoked to cause an object to begin executing as a separate thread?

1029


What is a policy?

2290


What is an abstract method?

1046


Why are component architectures useful?

1053


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2982


Difference between swing and awt?

1264


Why is string immutable in java?

1088


What is the difference between the font and fontmetrics classes?

1141


Can I have an action without a form?

1094


Can I run seam outside of jboss as?

1064


What is the relation between the infobus and rmi?

991


How are the elements of a cardlayout organized?

1074


which type of objects reference will be given to client?

2474