What is the range of short data type in Java?

java introduction 2

Quiz
•
Computers
•
University
•
Hard
Selvaraj V
FREE Resource
5 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
What is the range of byte data type in Java?
-128 to 127
-32768 to 32767
-2147483648 to 2147483647
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are legal lines of Java code?
1. int w = (int)888.8;
2. byte x = (byte)100L;
3. long y = (byte)100;
4. byte z = (byte)100L;
1 and 2
2 and 3
3 and 4
All statements are correct
4.
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
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these literals can be contained in float data type variable?
-1.7e+308
-3.4e+038
+1.7e+308
-3.4e+050
Similar Resources on Quizizz
10 questions
Basic java

Quiz
•
University
10 questions
cp06-01-1D-Array

Quiz
•
University
9 questions
IPC144 SLG -- Week2

Quiz
•
University
10 questions
Java Unit 1

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
8 questions
Kuizi 4.3

Quiz
•
University
9 questions
C++ Puntatori

Quiz
•
University
10 questions
Java MCQ Test on Control Statements

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