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

In which order the constructor is called for an inherited class?

524


What is iformatprovider in c#?

485


Is learning c# hard?

498


What exception can an overridden method throw in comparison with the method it is overriding?

450


What is a constructor in c#?

507






Wht executescaler method is used?

521


What is the difference between method parameters and method arguments. Give an example?

503


Why delegates are safe in c#?

444


Write a syntax for writing a event delegate.

485


Can abstract class have constructor c#?

461


What are actions in c#?

475


What is string [] args in c#?

533


Explain the steps to create satellite assembly?

476


What are collection classes?

463


What benefit do you get from using a primary interop assembly (pia)?

503