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 / sunitha
the static method will be inherited to teh sub class.only
fucntions declared as 'final' are not inherited
| Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
What is better - 'bit-shift a value' or 'multiply by 2'?
Can abstract class have private constructor?
What is the exception hierarchy in java?
What is the integer of 16?
Is it possible to override private or static method in java?
What is pangram in java?
What are inbuilt functions?
What is an off by one error in java?
Explain about fail fast iterators in java?
What is the main use of generics in java?
Can static method access instance variables ?
What do you understand by the term polymorphism?
What is purpose of keyword void?
Difference between static binding and dynamic binding?
Is java pass by value or pass by reference?