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

how i secure my site with the https protocol.what are the steps?

2327


Write a program to show synchronization?

1124


Which textcomponent method is used to set a textcomponent to the read-only state?

1115


What is chat area? Explain.

1010


In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?

2082


the same information whether it will connect to the database or it will be used previous information?

1026


what is handle?

2355


What is a policy?

2288


Explain about local interfaces.

1042


Why do I get a duplicate name error when loading a jar file?

1128


Explain the difference between object state and behavior?

1028


What is synchronization and why is it important?

1094


What is bean? Where can it be used?

1133


Where can I find seam examples and documentation?

1078


What is in-memory replication?

1043