thumbnail

Java Programming Quiz

Try to answer these questions about computer science and programming in the language of Java.
Quiz by AlmostAGenius
Rate:
Last updated: July 15, 2022
You have not attempted this quiz yet.
First submittedJuly 15, 2022
Times taken125
Average score60.7%
Report this quizReport
5:00
Enter answer here
0
 / 28 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Hint
Answer
The language of Java was allegedly named while the original creators were drinking this drink.
Coffee
As of March of 2022, the latest Java version is _______.
18.0.1.1
This tech billionaire and co-founder of Oracle Corporation acquired Java in 2010.
Larry Ellison
According to the PYPL Index, Java is second most popular programming language in 2022. What is the most popular language?
Python
Java keyword that allows classes to access methods and variables in classes in another package.
import
Java keyword that is used to create a variable or method that is shared by all instances of a class.
static
Data type that is used to instantiate a variable that is a word or sequence of characters.
String
Programming concept in which a class can have a parent or child which allows for increased specificity in objects.
Inheritance
Broad class that is a parent of every class created in Java.
Object
Java keyword that is used to access methods and variables in the parent class.
super
Hint
Answer
Java keyword used to instantiate a constant variable.
final
Java class in which the floor() and pow() methods come from.
Math
Punctuation mark that is used to denote the end of most lines in Java.
Semicolon
Type of loop in which a section of code is executed a specific number, specifically when the number of times the code should execute is known.
For Loop
Starting index of an array.
0
Data structure that is based upon arrays but can be easily resized by calling the add() method.
ArrayList
Big O time complexity of a selection sort.
O(log(n))
Programming concept in which a method calls itself.
Recursion
Algorithm that is commonly used to find the shortest path in a graph or maze.
Dijkstra's
World's most popular video game which was programmed using Java.
Minecraft
Hint
Answer
Primitive Data Types
boolean
byte
short
char
int
long
float
double
+1
Level 67
Sep 13, 2022
I got 18 and I don't even use Java. I should have got all the primitives though, my mind blanked