Explain constructor?

Answer Posted / surabathina

constructor is a method it gets invoked when instance of
the class is created

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cosole application?

570


Difference between Value type & reference types ? and give the example in .Net?

519


How do you declare a variable in c#?

513


What is ilist c#?

499


What is sqldatareader c#?

485






Why do we use virtual methods in c#?

483


Can dictionary have duplicate keys c#?

495


What is a scope in c#?

470


What is windows form in c#?

537


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?

1059


Can an exception be thrown from a catch block?

569


Is exe is machine dependent?

496


What are accessors?

530


what is the meaning of Object lifetime in OOPS

535


Define an array?

528