Java Byte intValue() method

tutorial and example
tutorial and example

The intValue()  method of Java Integer class returns an int value for this Integer.

 Syntax

public int intValue()

 Parameters

NA

 Specified by

This method is specified by intValue in class Number

 Return Value

This method returns the numeric value of this object after conversion to type int.

Example 1

Output

Example 2

Output