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 / shivaprasad
Definitely the sub class inherits the static method in
super class.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Does string is thread-safe in java?
What is module with example?
What is singleton pattern?
Give a practical example of singleton class usage?
What is serial version uid and its importance in java?
What is the difference between a loader and a compiler?
What is the role of the java.rmi.naming class?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
Is zero a positive integer?
What is boolean used for?
What is a void method java?
In java, how we can disallow serialization of variables?
What are the kinds of polymorphism?
Can private class be inherited in java?
why using interface interface ?