Answer Posted / hafiza khan
Constructor is like a method with a same name as of ur
class name ,no return type..
It is used to initialize the memebr variables of the class..
If there is no contructor provided compiler invokes the
default constructor. the Moment there is contructor is
provided to the class it can be any either default or
parameterized the compiler stops invoking it own default
constructor
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Explain something about WebService?
What are .net functions?
What is SOAP? How you will do windows and forms authentication?
Compare client server application with n-tier application
How big is the datatype int in .net?
What is the benefit of .net core?
Explain what are possible implementations of distributed applications in .net?
What are three common acronyms used in .net, and what do they stand for?
How can you turn-on and turn-off cas?
Explain what inheritance is, and why it's important?
What is garbage collection? Explain the difference between garbage collections in .net 4.0 and earlier versions?
Explain the difference between garbage collections in .net 4.0 and earlier versions?
What are the important components of .net?
What is smart navigation in .net?
Explain the different types of proxy patterns?