What is the size of the long variable in java

OPPS-IT-B-B1 QUIZ-2

Quiz
•
Education
•
University
•
Hard
roja laveti
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4 bytes
8 Bytes
2 Bytes
6 Bytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of the short variable in java
-128 To 127
-32768 To 32767
0 to 65535
-32767 To 32768
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not primitive types in java.
boolean
Integer
float
double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to store low precision floating numbers .
double
float
int
long
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid java identifier ?
my_var
_myvar
$myvar
3myVar
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not valid way to declare long type variable
long x=123L
long x=0x123
long x=123.0
long x=123
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class char_increment
{
public static void main(String a[])
{
char c1='D';
char c2=84;
c2++;
c1++;
System.out.println(c1+" " c2);
}
}
E U
U E
V E
U F
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
CLASE 9 22-3-25

Quiz
•
University
15 questions
MODULO 2_2 Cuestionario_1

Quiz
•
University
10 questions
8051 microcontroller basics

Quiz
•
University - Professi...
10 questions
Cuestionario de Computación

Quiz
•
University
12 questions
Quiz Sistem Mobile Robot Arduino

Quiz
•
University
15 questions
CN Network Layer Part 1

Quiz
•
University
11 questions
JavaScript DOM - Quiz

Quiz
•
University
10 questions
Cuestionario sobre Apache Tomcat y Eclipse

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