I tried google, but can't find a good way to ask this question... lol
For instance:
myClass anObject = new myClass;
Why do you declare a myClass, then specify "new myClass"
In my mind, it's the same as:
int myNumber = new int.
"No shit, it's a new int! If I wanted a f***ing float, it woulda said 'FLOAT myNumber'!!!"
If I wanted a "new yourClass", I would've typed "yourClass anObject"
And for that matter, what would be a good search phrase to find info on this, cause "why double declare class" and "why declare a class instance as new" and all the related phrases that come to mind don't turn up a damn thing....
Thanks, cause this is really bugging the shit outta me.