Java Byte intValue() methodThe intValue() method of Java Byte class returns an int value for this Byte after a widening primitive conversion. Syntax:Parameters:NA Specified byThis method is specified by intValue in class Number Return ValueThis method returns the numeric value of this object after conversion to type int. Example 1Test it NowOutput: Integer value : 98 Integer value : 102 Example 2Test it NowOutput: Sum : 23+45= 68 Example 3Test it NowOutput: Maximum number between 23 and 45 : 45 Minimum number between 23 and 45 : 23 Next TopicJava Byte |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India