It's totally dependent on condition. When there is a situation that we have to provide the partial implementation of some or all the method of a Object then One should go towards Abstract class. When all the method are abstract then one can choose the ...
Hi A programmer uses abstract class when these are some common features Shared by all the objects. A programmer writes an interface when every feature should be implemented Differently ...
if we do use a abstract method within a inner class , what is the use of declaring it anyways we can . ...
Yes.It is possible to override a method and declare it abstract provided the overriding class is also declared abstract. ...
In abstraction we just more concentrate on the essential details of the object and we ingnore the non-essential details of the object. In encapsulation, it hide or prevent the access to non-essential details of the object.these both are realted to each ...
An abstract method is a method whose implementation is deferred to a subclass.
An abstract class may not be declared as final.
An abstract method is a method whose implementation is deferred to a subclass.
The AWT toolkit is an interface between the abstract window layer and a specific windowing implementation.
When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?
When at least one of the methods in the class is abstract. When the class itself is inherited from an abstract class, but not all base abstract methods have been over-ridden.
View page << Previous 6 7 8 9 [10] 11 12 13 Next >>

Go Top