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

How can I avoid validating a form before data is entered?

1006


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

2341


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

1066


What is threadfactory?

1104


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

1088


what is a portable component?

2018


Brief description about local interfaces?

1275


Explain about local interfaces.

1066


How messaging services are done, before release of JMS?

2146


what are the activation groupworks?

2203


How is a java object message delivered to a non-java client?

1054


which book is better for jdbc ,servlets and jsp

2106


What is glasgow?

1062


What are the services in RMI ?

2384


What is a modular application?

1085