What keyword is used to create a class in Java?
Grade 10 - Final Exam practice quiz

Quiz
•
Computers
•
10th Grade
•
Easy

Roshni Misar
Used 6+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
define
struct
class
object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What prints out "I love Java" successfully?
Systemoutprintln("I love Java);
System.out.println("I love" + " Java");
System.out.println(I love Java);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in Java?
String
double
boolean
int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which access specifier allows the most restricted access?
protected
public
private
internal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function declaration is correct in Java?
public int add() {}
static add() {}
add() public int {}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of inheritance is supported in Java by using classes?
Single and multilevel inheritance
Hybrid inheritance
Super inheritance
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a double data type in Java?
2 bytes
8 bytes
4 bytes
16 bytes
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
PAS_X_PBO

Quiz
•
10th Grade
20 questions
COMPUTER

Quiz
•
9th - 10th Grade
30 questions
PBO - XI RPL (SMKN 1 Cisarua)

Quiz
•
1st - 10th Grade
30 questions
PBO - XII RPL (SMKN 1 Cisarua)

Quiz
•
1st - 10th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
20 questions
Variables and Loops Review

Quiz
•
9th - 12th Grade
20 questions
Computer Application Practice Quiz Class 10

Quiz
•
10th Grade
20 questions
Java Values and datatypes

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University