Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

which of the following are instance/object variables in the class stude…

Question

which of the following are instance/object variables in the class student? select all that apply.
select all that apply
a firstname
b lastname
c id
d phone
e next_id

Explanation:

Brief Explanations

Instance variables are specific to each instance of a class. firstName, lastName, id, and phone are likely to be unique per student instance. next_id is probably a class - level variable (used for generating unique IDs perhaps, shared among all instances).

Answer:

A. firstName, B. lastName, C. id, D. phone