When would a structure variable get destroyed?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
When would a structure variable get destroyed?

1.When no reference refers to it it will get garbage collected.

2. Depends upon whether it is created using new or without using new.

3. When it goes out of scope.

4.Depends upon the Project Settings made in Visual Studio.NET.

Posted Date:-2021-02-25 09:50:13


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!