What is the range of short data type in Java
Basic java

Quiz
•
Computers
•
University
•
Medium
NANDHINI T
Used 180+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the range of byte data type in Java?
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
d) None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An expression involving byte, int, and literal numbers is promoted to which of these?
Int
Long
Byte
Float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these literals can be contained in float data type variable?
a) -1.7e+308
b) -3.4e+038
c) +1.7e+308
d) -3.4e+050
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these operators is used to allocate memory to array variable in Java?
malloc
alloc
new
new malloc
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is necessary to specify at time of array initialization?
Row
Column
Both row and column
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these have highest precedence?
()
++
*
>>
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
TEST-1-PREP

Quiz
•
University
10 questions
C++ Variables, Literals, and Constants Quiz

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
15 questions
Fundamentals of Computer Science

Quiz
•
University
10 questions
NoeliaHidalgoMartin_curso

Quiz
•
University
10 questions
Mobile Application and Development

Quiz
•
University
13 questions
raju

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade