Answer Posted / rajkamal busi
Constuctor is a Method/Fuction
- Having Same Name of that Class(which it belongs to).
- which doesn't have any Return Type.
- and Get Executed Automatically when ever Object is
Created for that class.
Mostly Constuctor is Used for Initialization of Objects.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is cosole application?
Is c sharp open source?
What is difference between private and static constructor?
What is tpl in c#?
Does c# support multilevel inheritance?
Distinguish between finally and finalize blocks?
Is class reference type c#?
What are synchronous and asynchronous operations?
What is the difference between IEnumerator and IEnumerable?
What is the difference between virtual method and abstract method?
Explain data types in c#?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
Distinguish between the Debug class and Trace class with its functionality?
What are jagged arrays used for?
What is a float?