Ask a Question

how are objects created? give an example.

on 2012-05-11 22:54:31   by moutushi   on BCA  1 answers

Subhabrata

on 2012-05-11 09:30:00  

As you know that object is an entity that has a physical existance..now you declare a statement like A ob; //A is a class name,ob is the object of that class.. when the c++ compiler complies the program,it creates the space for that object into the memory..that means class does not have a physical existance,the existance will come after creating the object..