public class Order
{
static Customer cust = new Customer();
string sEmpty = "";
public static void main(String args[])
{
int iTotal = 10;
string sProductName = "Salt";
Ship shp = new Ship();
}
}
At the above code, which object and reference is created in the which part of memory? (I mean Heap and Stack)
(source: c-sharpcorner.com)