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 must a class do to implement an interface?

1282


Can you control when passivation occurs?

1120


Which containers use a border layout as their default layout?

1202


What value does read() return when it has reached the end of a file?

1076


Can I import same package/class twice? Will the jvm load the package twice at runtime?

1195


Difference between DurableSubscription and non- DurableSubscription?

2236


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2251


When is the best time to validate input?

1150


What are transaction attributes?

1162


How would you create a button with rounded edges?

1244


What classes of exceptions may be caught by a catch clause?

1080


Explain what is orm?

1156


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

1070


What is the purpose of the wait(), notify(), and notifyall() methods?

1084


How to pass parameters in RMI?

2312