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 purpose of using statement in c#

956


Explain about multithreading?

962


What is use of singleton class in c#?

923


what are implementation inheritance and interface inheritance?

882


What are variables in c#?

909


What are the commonly used i/o classes?

917


What is string literal in c#?

990


What are delegates?

1179


Does c# provide copy constructor?

957


What is desktop example?

874


What do you mean by jagged array?

864


Describe the parts of assembly.

896


What do you mean by streamreader/streamwriter class in c#?

900


Differentiate between response.expires and response.expiresabsolute?

929


what is object-oriented programming (oop) language?

817