int vs Integer – Java Application Memory Usage

  Before you read further, Please answer the following question: A. int a = 100; B. Integer b = new Integer(100); There are two java statements written above. What is the ratio of memory used by b to memory used by a in a 32 bit machine? The four options are: 1 1.5 2 4... Continue Reading →

Blog at WordPress.com.

Up ↑