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
What is contractor means and methods?
Can you make a constructor final in Java?
What is join () in java?
Can you explain the final method modifier?
Can you extend singleton class?
Why is String immutable?
What are heterogeneous objects?
What are the main differences between the java platform and other platforms?
What is a return in java?
Can we serialize arraylist in java?
What are the advantages of passing this into a method instead of the current class object itself?
What happens when a thrown exception is not handled?
What is bom encoding?
What is the longest unicode character?
what are different ways in which a thread can enter the waiting state? : Java thread