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

static methods cant be overridden because let us consider
the following program
class Base
{
static void x(){}
}
class Derieved extends Base
{
@Override
static void x(){}
}
will produce compile-time error

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is local interface. How values will be passed?

1010


Explain the advantages and disadvantages of detached objects.

1011


Do I have to use jsps with my application?

1009


What is a clone?

1035


what are the activation groupworks?

2174


Explain ioc concept?

1117


what is meant by JRMP?

2334


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

1121


What are the different class loaders used by jvm?

1088


Can I run seam outside of jboss as?

1062


Is there a guarantee of uniqueness for entity beans?

992


Why won’t the jvm terminate when I close all the application windows?

1224


Why is string immutable in java?

1085


what are getters and setters in Java with examples?

1762


Why are some of the class and element names counter-intuitive?

1122