You can do this with reflection to get an instance of class Math:
try {
Constructor[] cs = Math.class.getDeclaredConstructors();
cs[0].setAccessible(true);
Math m = (Math) cs[0].newInstance();
//e.g.
System.out.println(m.sqrt(16));
}
catch (Exception e) {
e.printStackTrace();
}
Whether this is a sensible thing to do is another question.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…