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

Is upper case in java?

734


What is difference between call by value and call by reference?

710


Can you make a constructor final in Java?

850


Which package has light weight components in java programming?

882


Why does java have different data types for integers and floating-point values?

768


What do you mean by thread safe?

748


How do generics work in java?

693


What is the use of default method in interface in java? Explain

742


What is the mapping mechanism used by java to identify IDL language?

796


What is scanner in java?

737


What is method overloading and method overriding?

756


Can we have a method name same as class name in java?

805


How many bits are in a sentence?

796


What is jar?

843


Can we have multiple classes in a single file?

723