Java Byte toUnsignedLong() methodThe toUnsignedLong() method of Java Byte class converts the specified argument to long by an unsigned conversion. Syntax:Parameters:The parameter 'x' represents the value to convert to an unsigned long. Return ValueThis method returns a long value converted from byte via unsigned conversion. Example 1Test it NowOutput: Unsigned long value for -3 : 253253 Example 2Test it NowOutput: Unsigned Long value for -128 : 128128 Example 3Test it NowOutput: Unsigned Long value for 127 : 127127
Next TopicJava Byte
|