Actually SQRT2 is Math property which returns only the square root of 2 which in Mathematics have approx. 1.414.
So if we want square root of 2,then we can use SQRT2 property.
Because SQRT2 is a static property of Math,we always use it as Math.SQRT2.
Asked In: Many Interviews |