New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Why we not able to instantiate Math class in java..??
2 Answers
+ 4
You can not create an object of Math class because the constructor of Math class has a private modifier.
0
becous its constructor has private method