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 |
Explain serialization and deserialization in java?
Describe how to implement singleton design pattern in struts.
Can a class be subclass of itself?
what is the collable collections in java?
Write a program to solve producer consumer problem in java?
why String class is immutable.
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?
What is t in generics in java?
What is the final keyword?
What is the difference between the continue and break statement?
Explain reverse a linked list recursive java solution?
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these?