
Java Basic Programming Quiz
Authored by H E Suryavanshi
Computers
University
Used 59+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a JAVA keyword?
native
assert
transient
constant
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A class variable is a variable which is .....
declared inside class but not within any class method
the word static comes before the variable type
a variable that any method in class can access
All of the given
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The size of the 'long' data type in bits is .....
8-bit
16-bit
32-bit
64-bit
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The given code will give following result
"Hello"
Hello
Compile-time error
Run-time error
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the given code?
5 4
4 5
4 4
5 5
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Total number of primitive data types in Java are ....?
5
6
7
8
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following below resides in heap memory in java?
class
instance variable
object
method
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
Шаблоны проектирования
Quiz
•
University
8 questions
Arquitetura de computadores (Aula 2)
Quiz
•
University
10 questions
TIU Quiz-9
Quiz
•
University
12 questions
Javascript
Quiz
•
University
10 questions
Основы Интернета и Веба
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
15 questions
python basics
Quiz
•
11th Grade - University
10 questions
Introduction to Concepts of AI
Quiz
•
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