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 is generic collection in c#?

873


How can I get around scope problems in a try/catch?

863


What is icomparer in c#?

885


When should I throw an exception?

938


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

899


How do you convert byte array to hexadecimal string, and vice versa?

1034


How do you create empty strings in c#?

872


What is the use of console readline () in c#?

807


List the differences between method overriding and method overloading?

903


Can arraylist hold primitive types?

962


Define an abstract class?

858


Is predicate a functional interface?

924


What is dictionary class in c#?

880


Is an interface a type c#?

917


What are the benefits of using windows services:

971