
Java Knowledge Check

Quiz
•
Computers
•
12th Grade
•
Medium
Yelipe Rishi
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the main entry point of a Java application?
static void main(String[] args)
void main(String[] args)
public static void main(String[] args)
public void main(String[] args)
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is a primitive data type in Java?
int
char
float
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What keyword is used to create a class in Java?
define
class
function
create
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In Java, what is the purpose of the 'this' keyword?
The 'this' keyword is used to access class-level variables.
The 'this' keyword is used to define static methods.
The 'this' keyword is used to create new objects.
The 'this' keyword is used to refer to the current object instance.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the output of the following code: System.out.println(5 + 3 + "8");?
83
58
88
53
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is inheritance in Object-Oriented Programming?
Inheritance is a way to create multiple instances of a class.
Inheritance allows a class to be deleted from memory.
Inheritance is a method to encapsulate data within a class.
Inheritance is a mechanism in OOP that allows a subclass to inherit properties and methods from a superclass.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which of the following is NOT a feature of Object-Oriented Programming?
Procedural programming
Declarative programming
Scripting languages
Functional programming
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
recap 12 miscellaneous H446 computer science

Quiz
•
12th Grade
15 questions
Class 12 Skill Competition 2023-24

Quiz
•
12th Grade
18 questions
js basics

Quiz
•
4th Grade - University
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
Fundamentals of Programming C++

Quiz
•
9th Grade - University
20 questions
Java OOP Connections

Quiz
•
10th - 12th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
20 questions
JavaScript Basics Review

Quiz
•
7th - 12th Grade
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
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade