OK, as I have written the subject line, I can clearly understand that
Polymorphism doesn't apply to Statics. If I am correct, polymorphism gives multiple options for referencing an instance of a class. Static pertains to the class itself, regardless of instance.
Still, I would like clarification on two code snippits at the Q&A section of Chapter 2 for the
SCJP 6 Book I am studying from:
SCJP Sun® Certified Programmer for Java™ 6 Study Guide Exam (310-065)
By: Kathy Sierra; Bert Bates
Print ISBN-10: 0-071-59106-0
I have attached screenshots of two questions relating to Polymorphism and Statics:
Chapter_2_Question_10.png where the answer is fa la
Chapter_2_Question_13.png where the answer is furry bray
Here is my problem, how do I even trace this code to get the output?
Thanks in advance