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

What is the relationship between the canvas class and the graphics class?

984


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1004


Explain the advantages and disadvantages of detached objects.

967


Why does the tag url-encode javascript and mailto links?

957


What is the RMI and Socket?

1012


What is the difference between system.out ,system.err and system.in?

1052


What is colon_pkg_prefixes and what is its use?

2463


To identify IDL language what mapping mechanism is used?

3890


Are enterprise beans allowed to use thread.sleep()?

1107


What is the difference between the session.get() method and the session.load() method?

1039


What class is the top of the awt event hierarchy?

1040


What are the services in RMI ?

2302


Explain ioc concept?

1074


What do you need to set-up a cluster with jboss?

1020


What is a tasks priority and how is it used in scheduling?

1004