When a byte datatype is used?

Answer Posted / glibwaresoftsolutions

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

What is a war file?

750


Is 0 an irrational number?

808


What is the use of java?

731


What is super constructor?

744


What is default size of arraylist in java?

772


When is finally block not called?

816


What is the collection interface?

789


Why are there no global variables in java?

789


Is java good for beginners?

755


What is an object’s lock and which object’s have locks?

693


Can we define private and protected modifiers for variables in interfaces?

815


Can you sort a string in java?

687


How many bytes is a string java?

744


What are the two environment variables that must be set in order to run any java programs?

722


What is the most important feature of java? What is an interface?

759