Java variables

Quiz
•
Computers
•
University
•
Hard
ALDO STALIN J L
Used 94+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
0
Garbage value
Compilation error
Runtime error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
0
Garbage value
Compilation error
Runtime error
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The instance variables in b are given the same values as a
The instance variables in a are given the same values as b
a and b are considered to be the same object
None of the mentioned options
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A single class can have
only one instance
two instances
any number of instances
None of the mentioned options
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Static means
Class Level
Object level
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Main method is static because to execute main method without creating object By JVM
Yes
No
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What is the ouput of the following code?
x=10 x=10
x=10 x=20
x=30 x=30
x=30 x=20
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Java Interface Quiz

Quiz
•
University
15 questions
Scope of Variables in Python

Quiz
•
1st Grade - Professio...
10 questions
pointers and structures

Quiz
•
University
12 questions
Java quiz-2024-Sec-B

Quiz
•
University
10 questions
java quiz based on interface

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
15 questions
GAGC-JAVA-SET1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade