开发者

memory usage in oops [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

will changing all code to object oriented m开发者_如何学JAVAake memory usage bigger or smaller?

Hi all, Is it true that object oriented programs takes more memory than procedural?


No, it is not true. I would advise not listening to the person who told you that.


No, the amount of memory you allocate is the amount of memory used.

There are languages that use Garbage collectors and JIT compilers that use extra memory (C#, Java), but that's just language specific and has nothing much to do with the fact that they are OOP.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜