Core Java Quiz

Quiz
•
Computers
•
University
•
Medium
Atul Bondre
Used 54+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is size of int in Java?
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 Wayground
10 questions
Inheritance

Quiz
•
University
10 questions
SS2425 WMAD S6+L17 Quiz Time

Quiz
•
University
6 questions
Quiz on methods

Quiz
•
University
10 questions
TIU Quiz-9

Quiz
•
University
9 questions
Minecraft

Quiz
•
KG - Professional Dev...
12 questions
MCAB1

Quiz
•
University
10 questions
Quiz4

Quiz
•
University
10 questions
Java Programming Pt. 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University