title: Any concept of shared memory in Java
body: <p>AFAIK, memory in Java is based on heap from which the memory is allotted to objects dynamically and there is no concept of shared memory.</p>
  
  <p>If there is no concept of shared memory, then the communication between Java programs should be time consuming. In C where inter-process communication is quicker via shared memory compared to other modes of communication.</p>
  
  <p>Correct me if I'm wrong. Also what is the quickest way for 2 Java progs to talk to each other.</p>