Can static class be inherited in super class? If so how. What are the various types of OOPS in Dot Net architecture?What is the method that is used in Dot Net (like top-down, water fall)

Can static class be inherited in super class? If so how.

What are the various types of OOPS in Dot Net architecture?
What is the method that is used in Dot Net (like top-down, water fall)

Editorial / Best Answer

santosh.ifc  

  • Member Since Oct-2007 | Mar 19th, 2008


the static method will be inherited to the sub class only

Showing Answers 1 - 1 of 1 Answers

hashirhimt

  • Sep 15th, 2008
 

We can inherit static class when we make a class static then we cannot make instance of this class. So for calling member methods we inherit this in another non static class an make instance of this.

Static key word can't be use with Class. It will be used only with methods and blocks and while inherting both static and instance members are inhereted by the subclass if they are not overridden or hidden by subclass.

ymAmit007

  • Nov 24th, 2009
 

What do you mean by super class? for that matter anything not only static class will be inherited from super class to subclass. you inherit your parents not other way.

Did you mean something else here?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions