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

how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

0 Answers   SAP Labs,


What is a flag value?

0 Answers  


What is multi-catch block in java?

0 Answers  


Does java linked list allow duplicates?

0 Answers  


What are the Abstract Classes provided by Java?

5 Answers   Oracle,


What is the difference between && and & in java?

0 Answers  


How many bytes are there?

0 Answers  


What is boolean law?

0 Answers  


Explain the selection sort algorithm and state its time complexity?

0 Answers   Flextronics,


why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?

2 Answers   Global Logic, Satyam,


Is it safe for adding 10,00,000 records/objects to HashMap?, i.e is it safe to add millions of objects to HashMap?

2 Answers  


What Is Composition?

0 Answers   IBS,


Categories