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
Is a class subclass of itself?
What is regex java?
What is map java?
Is null function in java?
What is data movement?
What is array list in java?
What is the difference between heap and stack memory?
Is java developer a good career?
Is integer a class?
What is boolean logic?
how to one war file class to another war file class?
Explain the advantages of packages in java?
What are the default and parameterized constructors?
Implement two stacks using a single array.
Objects or references which of them gets garbage collected?