3 ms·
Sure, the ergonomics are different. One is a statically compiled language and one is dynamic. But it's still an object.
by kazagistar 8y ago
Sure, the ergonomics are different. One is a statically compiled language and one is dynamic. But it's still an object.
- lmm 8y agoIf I write new String("foo"); in Java, how do I get an object that can take the place of String in that expression? String.class has some relationship with the "String" in the code I quoted, but it's not the same thing; the thing that I apply new to is not a thing I can call methods on, and the thing that I can call methods on is not a thing I can apply new to.