February 27, 2020

Explore More Methods in the java.lang.Math Package

The java.lang.Math¬†package is very powerful. Understand more methods in this package that are related to the Euler’s number named e. public class MathMethods{ public static void main(String args[]) { MathMethods mathMethods = new MathMethods(); mathMethods.proceed(); } private void proceed() { //The methid Math.exp returns e^x, where x is the argument