Monday, May 13, 2013

Why we can't create object for static class?

Posted by Rahul Kharde at 9:16 PM

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

For more Information, 



If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to my regular Email Updates. Subscribe Now!


Kindly Bookmark and Share it:

YOUR ADSENSE CODE GOES HERE

0 comments:

Have any question? Feel Free To Post Below:

 

Popular Posts

Recent Comments

© 2011. All Rights Reserved | Help to understand .Net | Template by Blogger Widgets

Home | About | Top