Here you can find the source of Absolute(int a)
public static int Absolute(int a)
//package com.java2s; //License from project: Creative Commons License public class Main { public static int Absolute(int a) { return (a > 0 ? a : -a); }/*from w w w . j a va 2s. com*/ }