AP Computer Science Aeasymcq1 pt

A class named Car with an instance variable speed creates objects via

A.new Car()
B.Car()
C.make Car()
D.Car.new()

Explanation

Core Concept

new instantiates the class.

Correct Answer

Anew Car()

More Unit 5: Writing Classes practice questions

Try a random question →

Practice more AP Computer Science A questions with full explanations

Practice Unit 5: Writing Classes Questions →