Asked in
Software and Applications (non-game)
Computer Programming
Java Programming

In object oriented programming when does memory for the class is allocated and why?

Answer

User Avatar
Wiki User
January 31, 2009 2:46PM

While it depends on the specific language, memory for a class is usually allocated when an object of that class is created.