When a byte datatype is used?

Answer Posted / hr@tgksolutions.com

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 are the rules for variable declaration?

694


What is the original name of java?

771


What is difference between float and double?

697


What is procedure overloading?

2015


What are generic methods?

730


Can we execute a program without main?

751


How can you share data between two thread in Java?

732


Does printwriter create a file?

739


What is an empty list in java?

717


What is class and object in java?

756


What is strings in java?

794


What is generic type?

791


What is remote method invocation (rmi)?

809


Can you override a final method?

785


How do you convert an int to a double in java?

803