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
Can we pass a primitive type by reference in java? How
What is a method in java?
What do you mean by Function Overloading in java?
What is the basic concepts of OOPS?
Can one thread block the other thread?
What is the static import?
What do you know about the garbage collector?
What is the difference between serial and throughput garbage collector?
Explain about the performance aspects of core java?
What does indexof mean?
Can an interface extend another interface?
Can private class be extended java?
Distinguish between a predicate and a function?
Can I declare class as static or private?
Can a static method be overridden in java?