Which of these methods returns the total number of bytes of memory available to the program?
(a) getMemory()
(b) TotalMemory()
(c) SystemMemory()
(d) getProcessMemory()
(a) getMemory()
(b) TotalMemory()
(c) SystemMemory()
(d) getProcessMemory()
Right option is (b) TotalMemory()
To elaborate: TotalMemory() returns the total number of bytes available to the program.