What is the purpose of the following Java code?
a) It defines a class named Carro with two attributes and two methods.
b) It creates an object of...
What is the purpose of the following Java code?
a) It defines a class named Carro with two attributes and two methods. b) It creates an object of the Carro class and calls its methods. c) It defines a class named Carro with two attributes and two constructors.
Compartilhar