Java Math multiplyExact() method returns the product of its arguments. In this tutorial, we will discuss multiplyExact() method with examples. public class JavaExample { public… [Read More]
Java Math.subtractExact() Method
Java Math.subtractExact() method returns the difference of its arguments. It subtracts the value of second argument from the first argument and returns the result. public… [Read More]
Java Math.addExact() Method
Java Math.addExact() method returns sum of its arguments. public class JavaExample { public static void main(String[] args) { int i = 10, i2 = 20;… [Read More]
Java Math.nextDown() Method
Java Math.nextDown() method returns floating point number adjacent to the passed argument, in the direction of negative infinity. public class JavaExample { public static void… [Read More]
Java Math.nextUp() Method
Java Math.nextUp() method returns floating point number adjacent to the passed argument, in the direction of positive infinity. public class JavaExample { public static void… [Read More]
Java Math.nextAfter() Method
Java Math.nextAfter() method returns the floating point number adjacent to the first argument, in the direction of second argument. public class JavaExample { public static… [Read More]
Java StringBuffer codePointBefore()
Java StringBuffer codePointBefore(int index) method returns the unicode code point value for the character before the specified index. For example, sb.codePointBefore(5) would return the code point for… [Read More]
Java StringBuffer codePointCount()
Java StringBuffer codePointCount(int beginIndex, int endIndex) returns the code points count between the given indexes. In this tutorial, we will discuss codePointCount() method with examples…. [Read More]
Java StringBuffer subSequence()
Java StringBuffer subSequence() method returns a sub sequence based on the start and end indexes. As we know, StringBuffer is a char sequence, the subSequence()… [Read More]
Java StringBuffer setCharAt()
Java StringBuffer setCharAt() method sets a specified character at the given index. This method changes the character sequence represented by StringBuffer object, as it replaces… [Read More]
- « Previous Page
- 1
- …
- 14
- 15
- 16
- 17
- 18
- …
- 150
- Next Page »