
Java Programming Quiz

Quiz
•
Engineering
•
University
•
Medium
Gouthami Reddy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed Java and when?
James Gosling, 1991
Bjarne Stroustrup, 1985
Guido van Rossum, 1995
Dennis Ritchie, 1972
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is not a Java buzzword?
Robust
Secure
Platform Dependent
Object-Oriented
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int in Java?
2 bytes
4 bytes
8 bytes
Depends on OS
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the code below? int a = 5, b = 2; System.out.println(a / b);
2.5
2
3
Compilation Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Correct way to declare an array in Java?
int arr[] = new int[5];
int arr = int[5];
arr[] = new int[5];
array int arr[5];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this print? int[] nums = {1, 2, 3}; System.out.println(nums[1]);
1
2
3
Compilation Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of this code? int x = 10; x += 5 * 2; System.out.println(x);
20
30
25
15
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Polymorphism Quiz

Quiz
•
University
10 questions
Conceptos C++

Quiz
•
University
14 questions
Preguntas sobre Punteros en C/C++

Quiz
•
University
15 questions
Python programming

Quiz
•
University
15 questions
TECH WHIZ

Quiz
•
University
15 questions
BugBlitz

Quiz
•
University
10 questions
Java Array Mastery

Quiz
•
University
12 questions
LinkedLists

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Engineering
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University