In Java can we create objects of a class from a list of arrays?

后端 未结 0 1054
轮回少年
轮回少年 2021-01-30 04:43

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 {
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题