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

Why is stringbuffer called mutable?

768


What value is a variable of the string type automatically initialized?

843


why doesn't java run on all platforms?

788


Tell me about different OOPS concepts.

800


What are the rules for naming an array?

744


What is integer parseint?

738


Is java developer a good career?

784


Which eclipse is best for java?

758


What is a finally block?

772


What is a concrete classes? Is Java object class is concrete class?

754


What are data types in oop?

796


Explain Basics of OOP Language in java

812


Explain the difference between private, public, package and protected in java?

819


How do you pass by reference?

764


What is thread pool? How can we create thread pool in java?

847