Which of the following statement is correct?

Question:Which of the following statement is correct?

1.Constructor has the same name as that of the class.

2.Destructor has the same name as that of the class with a tilde symbol at the beginning.

3.Both A and B.

4. Destructor has the same name as the first member function of the class.


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!