Objects & Classes

Objects & Classes

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Java Methods Quiz

Java Methods Quiz

11th Grade

15 Qs

AP CSA - Inheritance, plus one while loop.

AP CSA - Inheritance, plus one while loop.

12th Grade

10 Qs

Object Oriented Programming in Python

Object Oriented Programming in Python

5th - 12th Grade

11 Qs

Python Dictionary Quiz

Python Dictionary Quiz

9th - 12th Grade

10 Qs

004_Java Instance Variables

004_Java Instance Variables

12th Grade - University

15 Qs

T_(b)(C)_4.1 Introduction to Java Program

T_(b)(C)_4.1 Introduction to Java Program

12th Grade

10 Qs

OOP 3 Encapsulation

OOP 3 Encapsulation

11th Grade

10 Qs

Java Scope mini quiz

Java Scope mini quiz

9th - 12th Grade

9 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?