This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have just swapped the argument type of "scale" method and passing the long value.
This will not compile because it is overloading not overriding so at compile time compiler will check for a method "scale" with long argument in class "Shap" and generates a compile time error because it will not be able to locate the same.