I don't know if this has already been asked since I can't find it anywhere.
So, recently I came across this feature in IntelliJ IDEA where it says transform expressions.
Here is the picture:
What I want to know is that what is the difference between ClassA object = new ClassA(); and new ClassA();.
Is there any functional differences or anything else that may impact normal code functioning in any way?
