java.lang.Math.abs(long a) java.lang.Math.abs(int a) java.lang.Math.acos(double a) java.lang.Math.abs(long a) package com.codingdict; import java.lang.*; public class MathDemo { public static void main(String[] args) { // get some longs to find their absolute values long x = 76487687634l; long y = -1876487618764l; // get and print their absolute values System.out.println("Math.abs(" + x + ")=" + Math.abs(x)); System.out.println("Math.abs(" + y + ")=" + Math.abs(y)); System.out.println("Math.abs(-18885785959l)=" + Math.abs(-18885785959l)); } } java.lang.Math.abs(int a) java.lang.Math.acos(double a)