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 / ramana
As per my knowledge static method can not be inhertated ,
but we use the same concept provideing that method hidding
concept.i.e we should not override the super class static
method in subclass.we just declare in subclass under
hidding concept.
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
What is the difference between superclass and subclass?
Explain all java features with real time examples
What is thread synchronization in java?
What is procedure writing?
Explain about doubly linked list
Which eclipse is best for java?
What are the different access modifiers available in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Why can't we use static class instead of singleton?
Does apple use java?
Why should we use singleton pattern instead of static class?
What is consumer interface?
How big is a boolean?
Can we have multiple catch block for a try block?
Can we nested try statements in java?