You are creating an anonymous object. After the execution of constructor; the GC will clean up this object.
https://www.quora.com/What-is-anonymous-object-instantiation
solved How this code Compile and Run?
You are creating an anonymous object. After the execution of constructor; the GC will clean up this object.
https://www.quora.com/What-is-anonymous-object-instantiation
solved How this code Compile and Run?