java.lang.Math is not an Abstract class. So, we should be allowed to makes its instance. When I try to do so, I get an error:
Math obj = new Math();
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The constructor Math() is not visible
Why it is so?
- PEACE