Log in
Sign up for FREE
arrow_back
Library
Classes and objects
By Alfredo Dominguez Lucio
star
star
star
star
star
Share
share
Last updated almost 2 years ago
4 questions
Add this activity
1
1
1
1
Question 1
1.
What is an attribute in programming?
A function
A loop
A condition
A property
Question 2
2.
What is an operation on an object?
A method
A class
An if statement
A variable
Question 3
3.
Name an attribute and an operation for a Book class.
Genre, jump()
ISBN, subtract()
Title, borrow()
Author, run()
Question 4
4.
True or False: The current state of an object affects operations.
True
Depends
Not sure
False