67.3k views
7 votes
Question #1

dropdown
choose the term described.

a variable in a program that represents a class and is created by an assignment statement

function created within a class
definition

constructor
method
instance

User Oluckyman
by
7.3k points

1 Answer

14 votes

Answer:

instance - a variable in a program that represents a class and is created by an assignment statement

method - function created within a class definition

Step-by-step explanation:

A class is made up of the members fields and methods.

Fields are variables in the class and methods are functions in the class.

An instance is a copy of the class also called an object

User Iamaatoh
by
8.0k points