0
Different ways to create an object in java
⢠By new keyword ⢠by new instance() method ⢠by clone method ⢠by deserialization ⢠by factory method https://code.sololearn.com/cMRU6AFKUDLP/?ref=app
1 Answer
+ 1
Yes we know that but what is your Actual problem? Ask only that.