Saturday, 10 August 2013

difference between C++ constructor and java Constructor

difference between C++ constructor and java Constructor

In C++ , if we create our own constructor then we need to require to
deallocate the memory of the object created during construction
call.(Correct me if i am wrong)
i want to know about JAVA constructor call. for java also do we require to
deallocate memory of the object created or it will deallocate by their own
if the object is not in use

No comments:

Post a Comment