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

Hi pals,
I agree with sushant who says that method overriding is not just using same name for the method.
But I want make some things more clear.
first of all Whats Method overriding , giving a new implementation for the parent or base class methods mean while maintaining same method definition.
If thats the case
You can override static methods by all means.
In this case only thing differs is way of accessing the methods , as its static access it by their class name.

And also

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class loader? What are the different class loaders used by jvm?

1049


Difference between hashmap and hashtable?

1087


Why a client should be multithreading? Explain.

1030


What’s jboss cache in short?

1059


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1106


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

954


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

998


Explain ioc concept?

1069


What is the highest-level event class of the event-delegation model?

1032


What are the different approaches to represent an inheritance hierarchy?

1018


Difference between new operator and class.forname().newinstance()?

1082


What are the services in RMI ?

2299


Explain phantom read?

2165


How messaging services are done, before release of JMS?

2072


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

982