what is a constructor?
Answers were Sorted based on User's Feedback
Answer / ranjith
Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / dharmendra nonia
constructor is a special type of method that invoke when u
create a new instance of a class. Basically it is used to
initialize the member variables.Its name must be same as
the class name.It have no return type.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / divya
Constructor is a method that is executed when an object is
created.
| Is This Answer Correct ? | 0 Yes | 0 No |
It is very Important to know that
---------------------------------------
Constructor is generally used to create the new instance of
a class.
Constructor is special type of method that is used to
initialized the member variable and It has same name as the
class Name.It does not have return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
what is the difference between interface and abstraction?
5 Answers Choice Solutions, IBM,
If we write a goto or a return statement in try and catch block will the finally block execute?
In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?
Types of polymerphism and explain about dynamic polymerphism?
What is lambda expression in c#?
Can I use parseint?
What do you mean by sealed classes and static classes?
What are the desktop applications?
What is the real use of interface in c#?
Write the difference between TypeOf and GetType?
Explain how can you clean up objects holding resources from within the code?
What does dbml mean in texting?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)