what is a constructor?

Answer Posted / pushparaj pentakota

constructor is a special method it's invoke when object is
created and used to initialize instance members.and doesn't
have any return type.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

1490


How big is int16?

516


Define satellite assembly in c#?

487


Can abstract class have constructor in c#?

489


Define collections?

492






How to reverse each word in a string using c#?

556


What is overloading in c#?

475


What's the implicit name of the parameter that gets passed into the set method/property of a class?

588


What is array and arraylist?

536


How to Install uninstall assemblies into GAC?

504


What is the default value of object in c#?

451


What is dll hell, and how does .net solve it?

533


What is a hashset c#?

472


What is generic delegates in c#?

523


I want to print "Hello" even before main() is executed. How will you achieve that?

514