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
Explain what pure virtual function is?
How can constructor chaining be done by using the super keyword?
What is the difference between JVM and JRE?
What is use of super keyword in java?
How big is a 32 bit integer?
What are actual parameters?
what is the messsage u r going to get from an objectoriented programing?
Why do we use bufferedreader?
When should I use a singleton?
What is the purpose of the System class?
What is the integer of 16?
Assume a thread has lock on it, calling sleep() method on that thread will release the lock?
What is anagram word?
Can an interface extend a class?
Why is java logo a cup of coffee?