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
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 |
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 |
What is thread?
Is delete, next, main, exit or null keyword in java?
Can we declare a constructor as final?
What is meant by throwing an Exception?
Explain aggregation in java?
Write the program numbers into words.For example 2345==two thousand three hundred fourty five
How many types of array are there?
Why string is not thread safe?
What are thread local variables?
Describe string intern() methodology
Define array. Tell me about 2-D array.
How can we run a java program without making any object?