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 are the differences between path and classpath variables?
What is tree in java?
Is singleton class thread safe?
What is the symbol for average?
What is the difference between a synchronized method and a synchronized block?
What do you mean by singleton class in java?
Can final class have constructor?
What is a double?
Why set do not allow duplicates in java?
What is method reference?
What is literal example?
Explain the difference between association, aggregation and inheritance relationships.
can java object be locked down for exclusive use by a given thread? : Java thread
What is a lock or purpose of locks in java?
What is java and their uses?