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 / chak de
Static Methods are NOT inherited.
Keep it in Mind. that's it.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are static variables and functions?
what is meant by Byte code concept in Java?
Explain importance of finally block in java?
Can a function return a function?
What is an immutable class? How to create an immutable class?
What is purpose of keyword void?
What is bubble sort in java?
What is mnemonic in assembly language?
What is dot operator?
What are the approaches that you will follow for making a program very efficient?
Explain public static void main(string args[]).
What is the role of the java.rmi.naming class?
Can a class declared as private be accessed outside it’s package?
What ide should I use for java?
What are the different types of collections in java?