Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain constructor.

Answer Posted / kousik

Main Advantage of Cons:
1)Object Initialization
2)Class don't have Private access specifier through use of private constructor avoid inheritance.
3)Types:a)static b)Instance
a)--Default automatically crates and no arguments are not supplied.
b)-Same name of class but we have n no of arguments.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the difference between class and object?

952


Explain the difference between the system.array.copyto() and system.array.clone()?

888


Is c# a backend language?

937


What is the advantage of extension method in c#?

850


What is the purpose of namespace?

820


Why extension method is static?

872


What are the different types of assemblies available and their purpose?

882


Is std :: string null terminated?

867


What is c# windows form application?

912


What is dbml file in c#?

965


What does out mean c#?

897


What is difference between value and reference types in C#.NET

1051


What is the use of tryparse in c#?

880


What is the purpose of namespace in c#?

833


What is the purpose of a namespace?

829