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

What is the difference between static and private constructor in c#?

690


Can a method be sealed in c#?

654


What is an assembly qualified name? Is it a filename? How is it different?

681


How do you serialize an object?

704


What is a Managed Code??

732


What are some examples of desktop applications?

681


What are the string functions in c#?

722


how can one use hcl and c sharp together?

1776


How do you sort a list in c#?

650


Why do we use 0?

685


How many keyword present in C# language ?

754


What is querystring in c#?

693


Is there a way of specifying which block or loop to break out of when working with nested loops?

732


What is readline c#?

654


How do switch statements work?

667