When a byte datatype is used?

Answer Posted / nashiinformaticssolutions

An 8-bit signed two-complement integer is called a byte. Bytes support a minimum value of -128 and a maximum value of 127. It is employed when memory conservation is required and the required range of numbers is -128 to 127.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why java is considered dynamic?

954


Mention a package that is used for linked list class in java.

756


What are the two parts of a conditional statement?

741


What is unicode datatype?

729


Can we create object of inner class in java?

702


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

791


What is hash code collision?

820


What is difference between equal and == in java?

735


Can we modify the throws clause of the superclass method while overriding it in the subclass?

792


What is the final method?

848


What is empty string literal in java?

793


What is JFC?

910


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

1108


Can you call a method in a method?

777


Explain runtime exceptions?

938