Answered by Scott on 2005-05-12 10:03:06: An abstract class can contain non-abstract methods which do not have to be overridden in the subclass. There is no difference between a fully abstract
A Programmer uses Abstract class to specify common features of all objects and abstract methods to when we have dfferent implementation for diff objectsUses interface when he doesnot know how to implement the features ...
What is the use of abstract classes? How will we decide in a scenario, whether we have to use abstract class or interface?
Abstract class may contain non adbstract methods. But by default all the methods under Interface are abstract. ...
1.what is meant by inheritance,single inhertiance,multiple inheritance?2.define abstract class & abstract method?3.how to developed and delopying a SERVELT,JSP program in the TOMCAT APACHE SERVER,WEBLOGIC
Basically inheritence means subclass inherit the features of his parent class as well as his own different additional features. The example is parents and child. The child have features from his mother and father as well as his own additional features. ...
What is difference between instance and object.?what are the all difference between interface and abstract class?
What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading
Interface is a pure(100 %) abstract class. Then why abstract class seperatly? It's the design criteria,For example we are writing one class that has methods implemented which are common to other classes .And some methods are different for ...
Abstract class can not create the instance where as Final class can create the instance.Abstarct class can be subclassed where as Final class can not be sub classedAbstarct method can be overriden where as final methods can not be overriden ...
Abstract Classes: Classes which cannot be instantiated. This means one cannot make a object of this class or in other way cannot create object by saying ClassAbs abs = new ClassAbs(); where ClassAbs
Karuna Reddy wrote:"Interface: 1. If u want to implement all of the methods than we go for interface. 2. In future to put any methods that dows not effect. 3. To implemnting Inheritence Future Abstarct: 1. when it necessay dont create the instance ...
The real time environment , when do we go for abstract class and when do we go for interfaces , can any one please revert back in this regard?
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top