+ 1
MyClass MyObject =new MyClass();
MyClass MyObject =new MyClass(); what is happening here? First time, the storage address is getting generated for MyObject. Anything else is happening here? Anyone please explain.
1 Odpowiedź
+ 7
An instance of the MyClass class is created and is referred to by the MyObject variable.