thumbnail

Beginner Java Quiz

This quiz will test your knowledge on basic Java concepts and syntax.
Quiz by
ellioats
Rate:
Last updated: January 5, 2022
You have not attempted this quiz yet.
First submittedJanuary 4, 2022
Times taken99
Average score45.5%
Report this quizReport
4:00
Enter answer here
0
 / 11 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
What is the difference between an int and a long?
An int datatype only has 4 bytes of length, but a long datatype has double the length of an int.
What datatype do you use to store a decimal?
A double
Fill in the blank
public static void main(string[] args)
What Naming Convention Is Used To Name Classes?
Pascal Naming Convention
what Naming Convention Is Used To Name Methods And Variables?
Camel Naming Convention
What type are strings?
Strings are reference types
What type are integers?
Integers are primitive
How is object oriented programming different from procedural (or functional) programming?
Procedural programming does not use objects to contain content.
What company created Java?
Oracle (formerly known as "Sun Microsystems")
How is java used in modern computer science occupations?
Java programmers mostly maintain systems that run java. Not many new programs are built in java, as there are faster and more intuitive languages that companies prefer.
What do methods represent in an object?
Methods represent actions that the given object can perform / partake in.
Save Your Stats
Your Next Quiz
Name all 50 states in the USA. Easy, right?
Can you name the capitals cities of all 196 countries in the world?
20 random countries have been removed from the map of the world! Can you identify them in 3 minutes?
Spin the global to a random spot and then guess the countries that appear.
1 Comments
+1
Level 63
Jan 4, 2022
Neat quiz! I hope you don't make some random garbage quiz complaining about the ""new"" discord logo :)