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...

In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not????

Answer Posted / venkat

In java supporting for the static overriding concept but
the values are static values(means entire application values
will come one type).

ex:
class A
{
public static void test()
{

}
}
class B extends A
{
public static void test()
{

}
}

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is integer immutable in java?

924


Is static variable stored in heap?

923


What does += mean in java?

1015


What is a string token?

956


Explain about static nested classes in java?

1023


What is consumer interface?

944


Can we use string in switch case in java?

996


Mention the default values of all the elements of an array defined as an instance variable.

918


What is a ternary operator in java? What is an interface?

940


Explain about member inner classes?

1026


Give me example of derived data types.

1085


How do you convert bytes to character in java?

942


What is the driver class?

965


What are methods?

962


What modifiers may be used with an inner class that is a member of an outer class in java programming?

1018