Java Square square(double a)

Here you can find the source of square(double a)

Description

square

License

Open Source License

Declaration

public static double square(double a) 

Method Source Code

//package com.java2s;

public class Main {
    public static double square(double a) {
        return a * a;
    }/*from   w w  w  .  jav a 2 s.  com*/

    public static float square(float a) {
        return a * a;
    }

    public static int square(int a) {
        return a * a;
    }

    public static long square(long a) {
        return a * a;
    }
}

Related

  1. square(double[] in, double[] out)
  2. square(double[][] m)
  3. square(final double num)
  4. square(float number, int power)