Explain constructor.

Answer Posted / subramanyam

Constructors are used for initialization.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is nullable type c#?

496


What is a linked list c#?

507


What are the Uses of CLR

762


Differentiate between dataset and datareader?

529


What is the name of c# compiler?

636






Show us in simple steps to create setup & deployment project for windows application?

501


What does void do in unity?

532


Why data types are important?

531


Explain types of comment in c# with examples

484


What happens if a static constructor throws an exception?

496


What is the difference between a class and an object c#?

476


What is value c#?

463


What is unrecognized escape sequence in c#?

511


Can you pass parameters to destructors?

532


Can we override interface method?

532