Java Short intValue() MethodThe intValue() method of Short class is used to return int value corresponding to Short object. SyntaxParametersN/A Return valueReturns numeric value corresponding to Short value after converting it into int type. Example 1Test it NowOutput: Short 105 converted into intValue is = 105 Example 2Test it NowOutput: Short -55 converted into intValue is = -55
Next TopicJava Short
|