what is abstract class and method..

Answers were Sorted based on User's Feedback



what is abstract class and method....

Answer / asif aslam

Abstract class start with the keyword abstract,we can't
create direct instantiate of the abstract class,an abstract
class may contain the pure virtual,abstract function.

Is This Answer Correct ?    2 Yes 0 No

what is abstract class and method....

Answer / shivanand arur

Abstract class is a class which can have both, abstract and non-abstract methods. Abstract methods are the one's which are just declared in the class but does not have any body inside it. The abstract classes are defined by a keyword "abstract". The class which inherits this abstract class, has to declare the method in it and has to give its function body...An abstract class cannot be instantiated and its methods are internally virtual.

Interfaces are always chosen over these abstract classes since interfaces provide multiple inheritance but once a class is inherited that class cannot inherit any other class.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain transparent caching with aop?

0 Answers  


Explain how asp.net page works?

0 Answers  


Types of optimization and name a few ?

3 Answers   Accenture,


Is object a value type or referenced type?

2 Answers  


Can we make a class with class with same;suppose public class abc { public class abc { } }

1 Answers  






What is recordset asp?

0 Answers  


What is web router?

0 Answers  


To bind columns manually which tags do you need to add within the asp:datagrid ?

0 Answers   Siebel,


Compare and contrast between inline and code behind - which one is best?

2 Answers   Siebel,


What is cas?

0 Answers  


what is asp.net

12 Answers   Dynacs,


hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance

3 Answers  


Categories