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...

why we can't create an object for a static class??
what is the reason behind this?

Answer Posted / pushparaj pentakota (anakapall

static blocks and static classes are executed before
constructor execution but object can be created while
executing the constructor only but static blocks are exected
before executing construtor so we can't create an object on
static classes.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the and operator in c#?

976


What is the predicate of a sentence?

920


What is difference between string and stringbuffer in c#?

952


Distinguish between finally and finalize blocks?

918


What to implement on my class Finalize or IDisposable

984


What is the use of regex in c#?

930


Do while loops yes or no c#?

969


If a child class instance is created, which class constructor is called first - base class or child class?

929


Define method overloading in c#?

978


What are async and await?

945


Tell us something about static linking and dynamic linking?

945


What is difference between code access and role based security?

1076


What are the Types of values mode can hold session state in web.config

997


Why do we use methods in c#?

893


What are the applications of c#?

1705