Java Character getNumericValue Method

# Introduction In Java programming language, `getNumericValue()` is a method that is a part of the `Character` class. It provides the numerical integer value of a Unicode character. If the specified character does not have any numeric value, the method returns `-1`. On the other hand, if the character has a numeric value that cannot be represented as a non-negative integer, the method returns `-2`.

|60 : 00

Click the virtual machine below to start practicing