what is size of int in Java?
Core Java Quiz

Quiz
•
Computers
•
University
•
Medium
Atul Bondre
Used 53+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2 bytes
4 bytes
6 bytes
8 bytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is size of long int in Java?
2 bytes
4 bytes
6 bytes
8 bytes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is size of char in Java?
2 bytes
4 bytes
6 bytes
1 bytes
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String in a Java is primitive (built-in) data type or class?
data type
class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What size will be required to store value 324.98 in Java?
2
3
6
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these can not be used for a variable name in Java and any other programming languages?
identifier
keyword
identifier & keyword
none of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Import java.lang.*;
class Rectangle
{
int l,b,a;
a=l*b;
void fun()
{
l=10;
b=20;
system.out.println("Area = ", a);
}
}
Identify errors in above program segment.
Error in import line and Error in println line both
Error in import line
Error in println line
No error at all
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
CODE ZENITH

Quiz
•
University
15 questions
REACTOR

Quiz
•
University
6 questions
Quiz on methods

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
10 questions
Inheritance

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
10 questions
java script

Quiz
•
University
10 questions
Java Static

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