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 abstract class define both abstract and non abstract methods but interface can have only abstract methods. ...
Abstract class is not fully implemented class. The main purpose of abstract class is providing abstraction.1)It may be or may not be contains abstract methods.it may has defined methods also.2) It contains any kind of fields.3) Subclass extends only ...
What is the use of abstract classes? How will we decide in a scenario, whether we have to use abstract class or interface?
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
Java supports single inheritance like C++, but does not supports multiple inheritance because of diamond problem. ...
What is difference between instance and object.?what are the all difference between interface and abstract class?
Abstract class can have instance variable, static variable, constructor, abstract methods, concrete methods, instance blocks and static blocks.Subclass has to extend abstract class using extend keyword. ...
What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading
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 ...
Abstract class can contain method definations also.Interfaces are essentially having all method prototypes no definitionIn short Interface is a abstract class having all methods abstract
Besides the rules difference between of interfaces and abstract class, keep this also in mind.Abstract classes promotes high cohesion, while interfaces provides loose coupling. High cohesion and loose coupling are considered as the best design strategy ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top