# Java Math Functions In Hindi – Math Functions in Java In Hindi

Java Math Functions In HindiMath Functions In Hindi – Math Function Ka Istemal Isliye Karte Hai Taki mathematical tasks ko Perform Kar Sake |

## Java Math Functions In Hindi

Contents

Maths Function Ka Istemal Karne Se Java Mai Math Calculations Ko Easy Banaya Ja Sakta Hai. Isliye Math Functions Ko Har Programming Language Mai Diya Jata Hain |

In Functions Ko Ham Is Article Mai Sikhne Wale Hain Jo Niche Diye Gaye Hain |

• max – Maximum Value Find Karne Ke Liye.
• min – Minimum Value Find Karne Ke Liye.
• sqrt – Square Value Find Karne Ke Liye.
• random– Random Number Generate Karne Ke Liye.
• abs – Absolute Value Find Karne Ke Liye

Upper Diye Gaye Ek Ek Functions Ko Ham Dekhne Wale Hai Or Inka Ek Ek Example Bhi |

### Find Max Value In Java

Java Mai Max Value Find Karne Ke Liye Math.max() Function Ka Istemal Kiya Jata Hain |

Example:

```public class MyClass {
public static void main(String[] args) {
System.out.println(Math.max(50, 10));
}
}```

Output:

`50`

### Find Min Value In Java

Java Mai Min Value Find Karne Ke Liye Math.min() Function Ka Istemal Kiya Jata Hain |

Example:

```public class MyClass {
public static void main(String[] args) {
System.out.println(Math.min(50, 10));
}
}```

Output:

`10`

### Find Sqrt Value In Java

Java Mai Square Value Find Karne Ke Liye Math.sqrt() Function Ka Istemal Kiya Jata Hain |

Example:

```public class MyClass {
public static void main(String[] args) {
System.out.println(Math.sqrt(81));
}
}```

Output:

`9.0`

### Find abs Value In Java

Java Mai Absolute Value Find Karne Ke Liye Math.abs() Function Ka Istemal Kiya Jata Hain |

Example:

```public class MyClass {
public static void main(String[] args) {
System.out.println(Math.abs(-4.7));
}
}```

Output:

`4.7`

### Generate Random Number In Java

Java Mai Random Number Generate Karne Ke Liye Math.random() Function Ka Istemal Kiya Jata Hain |

Example:

```public class MyClass {
public static void main(String[] args) {
System.out.println(Math.random());
}
}
```

Output:

`0.32180794484867814`

Yadi Aapne  HTML Full Course  And CSS Full Course And Python Full Course And PHP Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |

Friends Mujhe Umeed Hai Ki Aapko Math Functions in Hindi Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai |