49.2k views
4 votes
In object oriented programming what is a constructor?

a. the attributes that allow a programmer to imagine a new object
b. the behaviors that allow a programmer to design a new object
c. the code that allows a programmer to create a new object
d. the template that allows a programmer to modify a new object

2 Answers

2 votes

Answer:

A. the attributes that allow a programmer to imagine a new object

Step-by-step explanation:

Got the answer right on the test!

User Mateuscb
by
6.0k points
6 votes

Answer:

The answer is A.

User Plamen G
by
5.8k points