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
what is the purpose of using statement in c#
Explain about multithreading?
What is use of singleton class in c#?
what are implementation inheritance and interface inheritance?
What are variables in c#?
What are the commonly used i/o classes?
What is string literal in c#?
What are delegates?
Does c# provide copy constructor?
What is desktop example?
What do you mean by jagged array?
Describe the parts of assembly.
What do you mean by streamreader/streamwriter class in c#?
Differentiate between response.expires and response.expiresabsolute?
what is object-oriented programming (oop) language?