term1 Definition1term2 Definition2term3 Definition3
Please sign in to your Google account to access your documents:
What does OOP stand for?
Object Oriented Programming
What is an object, in object oriented programming?
A thing, both tangible and intangible,that we can imagine. Students, room, floor, bicycle are examples
An object is called a __________ of a class
Instance
What must be defined before you can create an object?
A class must be defined prior to creating an instance of an object
If you had a rubber stamp and a piece of paper that you stamped with the rubber stamp, which would more closely resemble a class and which would more closely resemble an object?
The stamp is the class and the reproduction of the stamp on the paper is the object. Classes can be used to create any number of copies of the object defined in the stamp.
What is a sequence of instructions that a class or an object follows toperform a task?
A method
What is the difference between a class method and an instance method?
A method defined for a class is called a class method, and a methoddefined for an object is an instance method.
For the method below, what are "beginindex" and "endindex"?
s.substring ( beginindex, endindex )
Parameters
For the method below, what are "3" and "7"?
s.substring ( 3, 7 )
Arguments
What is used to represent information shared by all instances or torepresent collective information about the instances?
Class data values
Need help typing ? See our FAQ (opens in new window)
Please sign in to create this set. We'll bring you back here when you are done.
Discard Changes Sign in
Please sign in to add to folders.
Sign in
Don't have an account? Sign Up »
You have created 2 folders. Please upgrade to Cram Premium to create hundreds of folders!