Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Dictionary

Dictionary

11th Grade

14 Qs

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

BTEC DIT: Revision 1-6

BTEC DIT: Revision 1-6

1st - 12th Grade

11 Qs

CIW IBA Lesson 4 Vocabulary

CIW IBA Lesson 4 Vocabulary

8th Grade - Professional Development

11 Qs

Java Classes and Objects

Java Classes and Objects

12th Grade

14 Qs

Java Classes and Objects

Java Classes and Objects

12th Grade

10 Qs

Dictionary in Python

Dictionary in Python

11th - 12th Grade

10 Qs

Information Processing - File Organization/Access

Information Processing - File Organization/Access

10th - 11th Grade

10 Qs

Objects & Classes

Objects & Classes

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Bobby Johnson

Used 280+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?