
Objects & Classes
Authored by Bobby Johnson
Computers
11th - 12th Grade
Used 299+ 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
30 sec • 1 pt
In the statement int x; What is x ?
a variable
a data type
a class
an object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the statement
Bank tom = new Bank(5000.0);
Which is the class?
Bank
tom
new
5000.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the statement
Bank tom = new Bank(5000.0);
Which is the object?
Bank
tom
new
5000.0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the statement int x; What is int ?
a variable
a data type
a class
an object
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if a variable or method is made private?
It can be accessed by any class inherited from the current class
It can be accessed from another object unrelated to the current one.
It cannot be accessed by an unrelated object from the outside.
It cannot be accessed by anything
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many objects can be made from a class?
None, you make classes from objects
one
As many as you want
All of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
these are the number and types of variables or objects sent to a method
parameters
arguments
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?