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 void pointers?
Can an arraylist be empty?
What are design patterns and please explain?
What is main method?
What is diamond operator in java?
What is exception propagation?
What is instance synchronization?
when should you use stringbuilder class in a program?
What is anagram number?
What is meant by method overriding?
What is static block?
What are class members by default?
How do you read and print a string in java?
Can an unreferenced object be referenced again?
What is an argument java?