Can we pass the elements of an array as the name of the objects of some Class in Java. Suppose I created a class Cars with some of its attributes.
class Cars {