in Education by
What is the range of short data type in Java? (a) -128 to 127 (b) -32768 to 32767 (c) -2147483648 to 2147483647 (d) None of the mentioned This question was posed to me in my homework. Origin of the question is Integer and Floating Data Types topic in portion Data Types, Variables and Arrays of Java Select the correct answer from above options Java questions and answers, Java questions pdf, Java question bank, Java questions and answers pdf, mcq on Java pdf, Java questions and solutions, Java mcq Test , Interview Java questions, Java Questions for Interview, Java MCQ (Multiple Choice Questions),Core Java Questions, Core Java MCQ,core java interview questions for experiencedcore java interview questions for 3 years experience,java programming questions,core java interview questions for freshers,java interview questions and answers for freshers, java programming questions and answers pdf, java interview questions for beginners

1 Answer

0 votes
by
 
Best answer
Correct choice is (b) -32768 to 32767 Easy explanation: Short occupies 16 bits in memory. Its range is from -32768 to 32767.

Related questions

0 votes
    What is the range of byte data type in Java? (a) -128 to 127 (b) -32768 to 32767 (c) - ... , java programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these coding types is used for data type characters in Java? (a) ASCII (b) ISO-LATIN-1 ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is a super class of wrappers Byte and short wrappers? (a) Long (b) Digits (c) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these is necessary condition for automatic type conversion in Java? (a) The destination type is ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following is a type of polymorphism in Java? (a) Compile time polymorphism (b) Execution ... questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    Which of these data types is used by operating system to manage the Recursion in Java? (a) Array ( ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    Which of these literals can be contained in float data type variable? (a) -1.7e+308 (b) -3.4e ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is long data type literal? (a) 0x99fffL (b) ABCDEFG (c) 0x99fffa (d) 99671246 I ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these data type can be used for a method having a return statement in it? (a) void (b ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    Which annotation is used to represent command line input and assigned to correct data type? (a) @Input (b ... questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    Which of these is a process of converting a simple data type into a class? (a) type wrapping (b) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these is a wrapper for simple data type float? (a) float (b) double (c) Float (d) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these is a wrapper for data type int? (a) Integer (b) Long (c) Byte (d) Double This ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these is a wrapper for simple data type char? (a) Float (b) Character (c) String (d) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
0 votes
    Which of these data type is returned by every method of OutputStream? (a) int (b) float (c) byte ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 25, 2021 in Education by JackTerrance
...