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
What is string in java? String is a data type?
Is it possible to use string in the switch case?
What is object english?
When is the arraystoreexception thrown?
What advantage do java's layout managers provide over traditional windowing systems?
How does compareto work in java?
How to sort an array from smallest to largest java?
What is one third plus one third as a fraction?
Can we override private methods?
What is array in java?
Is string is a data type in java?
Which class is the superclass for all the classes?
what is an objects lock and which objects have locks? : Java thread
What is java thread dump, how can we get java thread dump of a program?
What is string and example?