Java StringBuffer trimToSize() method is used to reduce the capacity of StringBuffer instance, if possible. This method checks for non-utilized allocated space, it frees up… [Read More]
Java StringBuffer delete()
Java StringBuffer delete() method is used to delete a part of the string. A StringBuffer instance represents a character sequence. We can delete a portion… [Read More]
Java StringBuffer insert()
Java StringBuffer insert() method is used to insert the given element at the specified position in this character sequence. Syntax of insert() method //insert string “hello”… [Read More]
Java Math.copySign() Method
Java Math.copySign() method returns the first argument with the sign of second argument. In simple words, it copies the sign of second argument and replaces… [Read More]
Java Math.ceil() Method
Java Math.ceil() method returns the closest integer value, which is greater than or equal to the given value. For example, Math.ceil(9.9) would return 10. In… [Read More]
Java Math.signum() Method
Java Math.signum() method returns the signum function of passed argument. If the argument is zero, it returns zero. If argument is negative, it returns -1.0…. [Read More]
Java Math.pow() Method
Java Math.pow() method returns, first argument raised to the power of second argument. For example, Math.pow(3, 2) returns 9. In this tutorial, we will discuss… [Read More]
Java Math.cbrt() Method
Java Math.cbrt() method returns cube root of a given double value. In this guide, we will discuss cbrt() method with examples. public class JavaExample {… [Read More]
Java Math.sqrt() Method
Java Math.sqrt() method returns the square root of a given number. In this guide, we will discuss sqrt() method in detail with examples. public class… [Read More]
Java Math.round() Method
Java Math.round() method returns closest number to the passed argument. For example, Math.round(15.75) would return 16. In this tutorial, we will discuss the round() method… [Read More]
- « Previous Page
- 1
- …
- 16
- 17
- 18
- 19
- 20
- …
- 150
- Next Page »