View Single Post
Old 03-18-2019, 03:34 AM   #2
adityadev
Registered User
 
Join Date: Jul 2017
Posts: 86
A Destructor is also a member function of a class, which deallocates the memory allocated to an object. ... Constructor is used to initialize the instance of a class.A constructor in Java is a block of code similar to a method that's called when an instance of an object is created.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
adityadev is offline   Reply With Quote