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 / narasimha rao bodagala

Example:
class A {
static void something () {}
}

class B extends A {
static void something () {}
}

....
A anA = new B ();
anA.something ();

so, the compiler will not check the which one is to create
or which one is called method.

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 handle?

2310


Can I map more than one table in a cmp?

1029


How database connectivity in XML is achieved?

2193


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1017


What is the infobus?

1036


Why is actionform a base class rather than an interface?

1000


What are the benefits of detached objects?

1009


Can I use multiple html form elements with the same name?

997


which book is better for jdbc ,servlets and jsp

2046


Do I need to import javlang package any time? Why ?

1035


What are various types of class loaders used by jvm?

929


What is Stream Tokenizer?

2170


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

2189


what are the advantages of JTA over JTS?

2145


What state does a thread enter when it terminates its processing?

1016