Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

10th Grade - University

10 Qs

H466 - Global and Local Variables

H466 - Global and Local Variables

12th Grade - University

10 Qs

Java Scope mini quiz

Java Scope mini quiz

9th - 12th Grade

9 Qs

CodeHS Unit 1

CodeHS Unit 1

9th - 12th Grade

12 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

Object Orientated Programming 3

Object Orientated Programming 3

11th - 12th Grade

14 Qs

Object Oriented Programming in Python

Object Oriented Programming in Python

5th - 12th Grade

11 Qs

CSA 1.1.1 Why Programming? Why Java?

CSA 1.1.1 Why Programming? Why Java?

10th - 12th Grade

14 Qs

Objects & Classes

Objects & Classes

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Bobby Johnson

Used 298+ 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?