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

Answers were Sorted based on User's Feedback



In Inheritence concept, i have a static method in super class and i am inheriting that class to on..

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

In Inheritence concept, i have a static method in super class and i am inheriting that class to on..

Answer / sunitha

the static method will be inherited to teh sub class.only
fucntions declared as 'final' are not inherited

Is This Answer Correct ?    5 Yes 8 No

Post New Answer

More Core Java Interview Questions

Explain serialization and deserialization in java?

0 Answers  


Describe how to implement singleton design pattern in struts.

0 Answers  


Can a class be subclass of itself?

4 Answers  


what is the collable collections in java?

2 Answers   Persistent,


Write a program to solve producer consumer problem in java?

0 Answers  


why String class is immutable.

5 Answers   iGate,


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


What is t in generics in java?

0 Answers  


What is the final keyword?

0 Answers  


What is the difference between the continue and break statement?

2 Answers  


Explain reverse a linked list recursive java solution?

0 Answers  


where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?

4 Answers   iFlex,


Categories