Java Byte toUnsignedInt() methodThe toUnsignedInt() method of Java Byte class converts the specified argument to an int by an unsigned conversion. Syntax:Parameters:The parameter 'x' represents the value to convert to an unsigned int. Return ValueThis method returns an int value converted from byte via unsigned conversion. Example 1Test it NowOutput: Unsigned Int value for -34 : 222222 Example 2Test it NowOutput: Unsigned Int value for 127 : 127127 Example 3Test it NowOutput: Unsigned Int value for -128 : 128128 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