Byte (Java Platform SE 8 ) (original) (raw)


public final class Byte
extends Number
implements Comparable<Byte>
The Byte class wraps a value of primitive type byte in an object. An object of type Byte contains a single field whose type is byte.
In addition, this class provides several methods for converting a byte to a String and a String to a byte, as well as other constants and methods useful when dealing with a byte.
Since:
JDK1.1
See Also:
Number, Serialized Form

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.