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 volatile data type?

737


What is ternary operator in java?

812


Can you declare an interface method static?

804


How does predicate work in java?

765


What do you understand by looping in java? Explain the different types of loops.

793


What are the steps involved to create a bean?

881


What are the advantages and disadvantages of reference counting in garbage collection?

775


What is local variable and instance variable?

808


Define packages in java?

786


Explain about map interface in java?

790


What is object-oriented paradigm?

825


What is string manipulation?

715


How do you convert boolean to boolean?

787


why are there separate wait and sleep methods? : Java thread

776


Is there any case when finally will not be executed?

720