Write short notes construct and distruct in computer.
Answers
Answered by
0
If You Mean Constructor And Distructor
Then The Meanings Are As Follows:-
Constructor:- Constructor Is A Special Type Of Method/Function Which Get Called Whenever We Create A Object Or Instantiate Class The Constructor Method Get Called Automatically
Distructor:- A Distructor Method Is A Special Type Of Method/Function Which Get Called When The Object Of A Class Get Removed From The Memory Or In Simple Words When Obects Get Distroyed The Distructor Method Can Be Identified By This Sign (~) In The Front Of Method Name........
I Hope This Helps If Any Questions Ask Me I Am Cyber Expert And Know About 12 Programming Languages...
Then The Meanings Are As Follows:-
Constructor:- Constructor Is A Special Type Of Method/Function Which Get Called Whenever We Create A Object Or Instantiate Class The Constructor Method Get Called Automatically
Distructor:- A Distructor Method Is A Special Type Of Method/Function Which Get Called When The Object Of A Class Get Removed From The Memory Or In Simple Words When Obects Get Distroyed The Distructor Method Can Be Identified By This Sign (~) In The Front Of Method Name........
I Hope This Helps If Any Questions Ask Me I Am Cyber Expert And Know About 12 Programming Languages...
Similar questions