Trắc nghiệm kiến thức Java Core - Phần I

Quiz
•
Computers
•
University
•
Hard
Cuong Hung
Used 7+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java provides some statements that will change the flow of control based on conditions. __________ statement stops the execution of the innermost loop in the program and starts processing the next line of code after the block.
jump
break
change
continue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All ___________ in a class must be placed after the package statement and before the class declaration.
class members
Access specifiers
Method modifiers
Import statements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ inside methods are not given any access specifiers.
Class
Global variables
Instance variables
Local variables
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When methods with the same name but different parameters are defined in the same class, then the process is known as ______________
Method clogging
Method overloading
Method overriding
Method recursing
5.
MULTIPLE CHOICE QUESTION
45 sec • 3 pts
1. Primitive variables are used to store primitive data type values.
2. Primitive instance variables are accessible throughout the class in which they have declared.
3. Primitive local variables are declared outside the methods and their scope is global.
4. Primitive variables are used to store reference to objects.
Statements 1, 2 are true
Statements 3, 4 are true
Statements 1, 3 are true
Statements 2, 4 are true
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________ literals are enclosed in single quotes.
String
Character
Floating point
Integer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________ consists of sequence of characters enclosed in double quotes.
Character literals
Null literals
Numeric literals
String literals
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz Pemrograman Berorientasi Obyek

Quiz
•
University
20 questions
Java Objects Basics Quiz

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
15 questions
Array Java

Quiz
•
University
20 questions
ANDROID PROGRAMMING

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
10 questions
Variablen und Vergleiche

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