Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. What is the range of data type byte in Java?
  2. A.
    -128 to 127
    B.
    -32768 to 32767
    C.
    -2147483648 to 2147483647
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Byte occupies 8 bits in memory. Its range is from -128 to 127.


Be The First To Comment