Question: What is the numerical range of a char?

Options

A : -128 to 127

B : -(2 15) to (2 15 ) - 1

C : 0 to 32767

D : 0 to 65535

Click to view Correct Answer

Previous ||

Language Fundamentals - General Questions more questions

Which three are valid declarations of a char?

Which is the valid declarations within an interface definition?

Which one is a valid declaration of a boolean?

Which three are valid declarations of a float?

Which is a valid declarations of a String?

Suppose that you would like to create an instance of....

Which class does not override the equals() and hashCode() methods,....

Which collection class allows you to grow or shrink its....

You need to store elements in a collection that guarantees....

Which interface does java.util.Hashtable implement?

Declarations and Access Control - General Questions more Online Exam Quiz

Declarations and Access Control - General Questions

Objects and Collections - General Questions

Threads - General Questions

Automobile Engineering - Part 1

Compressors, Gas Dynamics and Gas Turbines - Part 1

Engineering Materials - Part 1