
JavaCore

Quiz
•
Computers
•
University
•
Medium
Đặng Duy
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JVM?
Is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed.
Is a development tool for developer.
Is a set of libraries for developer.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the java file, we must use the documentation comment /**... */ (Java doc) to post information for the?
Class
Method
Fields
All mentioned above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public interface A { public void showA(); }
public class B extends A { public void showA(){} }
public class B implements A { public abstract void showA(){} }
public class B implements A { void showA(){} }
public class B implements A { public void showA(){} }
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid declaration within an Interface?
public static short STOP = 50;
protected short STOP = 50;
transient short STOP = 50;
final void start(short stop);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Types of Java Comments include:
Single Line Comment
Multi Line Comment
Documentation Comment
A and B are TRUE
E. A, B and C are TRUE
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public interface Foo {
int k = 4; /* Line 3 */
}
Which three piece of codes are equivalent to line 3?
1. final int k = 4;
2. public int k = 4;
3. static int k = 4;
4. abstract int k = 4;
5. volatile int k = 4;
6. protected int k = 4;
2, 3 and 4
3, 4 and 5
4, 5 and 6
1, 2 and 3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following option make data in an OOP language safe from external modification?
protected
public
private
default
None of above
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java

Quiz
•
University
20 questions
Fundamentos JAVA

Quiz
•
University
16 questions
Java Основи

Quiz
•
11th Grade - University
20 questions
Final Quiz

Quiz
•
University
25 questions
OOPs Fundamentals

Quiz
•
University
20 questions
Classes Relationships in Java Programming

Quiz
•
University
23 questions
Beginning C Programming

Quiz
•
University
15 questions
Flutter intro and Dart quiz

Quiz
•
University
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 Computers
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