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 treeset in java?
Why are the destructors for base class and derived class called in reverse order when the program exits
What is a finally block? Is there a case when finally will not execute?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
Where is stringbuffer stored?
What is string data?
What is the basic concepts of OOPS?
What is executor memory?
How do you allocate memory to object?
Is upper case in java?
How objects are stored in java?
How do you break a loop?
Why is java so popular?
How do you get length in java?
What is balanced tree in java?