New course! Every coder should learn Generative AI!
Try a free lesson0
Can we instantiate object without using new operator?
2 Answers
+ 5
Yes you can but there should be at least one object instantiated with the help of new operator. You can create the copies of the instantiated object with the help of cloning.
+ 1
This question already exists:
https://www.sololearn.com/discuss/2125118/?ref=app
Please use the search bar next time.