Once a method declared as Final cannot be overriden
A is incorrect. It is acceptable to use assertions to test the arguments of private methods.
B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.
The Math.floor() function in JavaScript is used to round off the number passed as parameter to its nearest integer in Downward direction of rounding i.g towards the lesser value.
Hence, math.floor(3.6) = 3.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.