JAVA Basics

Quiz
•
Arts
•
University
•
Medium
Jamunadevi T
Used 215+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these cannot be used for a variable name in Java?
identifier & keyword
identifier
keyword
none of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which component is used to compile, debug and execute the java programs?
JRE
JIT
JDK
JVM
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an OOPS concept in Java?
Polymorphism
Compilation
Inheritance
Encapsulation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these are selection statements in Java?
break
continue
for()
if()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value stored in x in following lines of code?
int x, y, z;
x = 0;
y = 1;
x = y = z = 8;
1
9
8
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++
24
23
20
25
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following for loop declaration is not valid?
for ( int i = 99; i >= 0; i / 9 )
for ( int i = 7; i <= 77; i += 7 )
for ( int i = 20; i >= 2; - -i )
for ( int i = 2; i <= 20; i = 2* i )
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
CHI PHEO

Quiz
•
University
12 questions
WHAT AM I

Quiz
•
4th Grade - Professio...
15 questions
Script and Screenplay Rules

Quiz
•
University
10 questions
All about 90s music

Quiz
•
University
10 questions
Rebus Puzzles

Quiz
•
University
12 questions
Blind Test

Quiz
•
KG - Professional Dev...
15 questions
Bajki mojego dzieciństwa

Quiz
•
University
13 questions
Camila Cabello

Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Arts
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University