Suppose we have a class named "Car" with an instance variable "brand" and a constructor that takes in a "brand" parameter. Which of the following lines of code should be written inside the constructor so that the "brand" instance variable is correctly set to the “brand” parameter?

fiveable - celebration pep

Unlock 200k practice questions!

PLUS 40 prep books + AP Cram events with Cram Mode. Everything you need to get that 5 (or whatever score you want!)

Unlock all of Fiveable