null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
2755782
Classes and Objects Quiz
Description
Quiz on java classes and objects
No tags specified
ap compsci
classes
objects
ap compsci
high school
Quiz by
joannazhang13
, updated more than 1 year ago
More
Less
Created by
joannazhang13
over 9 years ago
86
1
0
Resource summary
Question 1
Question
An object is characterized by:
Answer
State and Validity
Validity and Accessibility
State and Behavior
Behavior and Accessibility
Question 2
Question
A variable that represents an object is called
Answer
Conjugate
Abstract
Type
Object reference
Question 3
Question
State of a given object is maintained in its
Answer
Algorithms
Instance variables
Encapsulations
Behaviors
Question 4
Question
Combining an object's data and methods into a class is called
Answer
Encapsulation
Implementation
Inheritance
Boxing
Question 5
Question
Public methods are accessible to:
Answer
Some client programs
All client programs
All client programs that asks for return value
All client programs that are abstract
Question 6
Question
Static variables are shared by:
Answer
All instances of the class
All instances of the class that are private
All instances of the class that are public
Some instances of the class depending on what the static variable specifies.
Question 7
Question
A constructor
Answer
Must have arguments
Cannot be the same as the class
Creates and object of the class
Has a return type based on the class
Question 8
Question
Static methods
Answer
Must have a return type
Cannot access instance variables
Can access instance variables
Must not have a return type
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
class Tiger
Kostas Diakogiannis
Label the Classroom
Robert Caceres
OOP (Object Oriented Programming)
Adam Cook
Unit 2 - Key Vocabulary
Shannon Anderson-Rush
JavaScript Fundamentals
Andrew Watters
What is an interface?
joannazhang13
Spanish School Subjects
Maddie Medler
Abstract Class Quiz
joannazhang13
Objects
Ruth Hyndman
English I term 11a
caress414
Chapter 2: Basic Computation
Alexander Cintron
Browse Library