
Java Knowledge Check
Authored by Yelipe Rishi
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Empowerment Technologies
Quiz
•
KG - 12th Grade
15 questions
Excel
Quiz
•
10th - 12th Grade
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 12th Grade
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
15 questions
MVC-PHP
Quiz
•
12th Grade
15 questions
Cyber Security KS4
Quiz
•
8th - 12th Grade
15 questions
Linux-2 Quiz 2 -- LAMP
Quiz
•
1st - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade