0

How can i create a java program in which user create objects from class as many as he wants.?? I mean how to make a generic one

For example if i create 2 object i do it by hardcode. I want to make it generic depending on user choice. How to do it?? Its note my Assignmnt or any other task i just want to know about. Thanks

8th Mar 2020, 8:36 PM
Abdul Wahab
Abdul Wahab - avatar
2 odpowiedzi
+ 3
It means we create An array of Type MyClass ??
8th Mar 2020, 8:52 PM
Abdul Wahab
Abdul Wahab - avatar
+ 2
~ swim ~ bundle of thanks ❤❤👌
8th Mar 2020, 9:02 PM
Abdul Wahab
Abdul Wahab - avatar