1.

What Does The Statement “memory Is Managed In Java” Mean?

Answer»
  • Memory is the KEY resource an application requires to run EFFECTIVELY and like any resource, it is scarce. As such, its allocation and deal location to and from applications or different parts of an application require a lot of care and consideration.
  • HOWEVER, in Java, a developer does not need to explicitly allocate and deallocate memory – the JVM and more specifically the Garbage Collector – has the duty of handling memory allocation so that the developer doesn’t have to.
  • This is contrary to what happens in languages like C where a programmer has direct access to memory and literally references memory cells in his code, creating a lot of ROOM for memory leaks.



Discussion

No Comment Found