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
When should I use stringbuffer?
What are the object and class classes used for?
What is jit compiler ?
what is the difference between Object Based Language and Object Oriented Language?
Difference between class#getinstance() and new operator ?
How to handle a web browser resize operation?
What is bool mean?
What is default locale java?
Does string is thread-safe in java?
What is use of set in java?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is a class reference?
What is difference between static class and normal class?
Name few java util classes introduced with java 8 ?
what is encapsulation in java? Explain