If I am declaring a private member in abstract class, although it will not be accessible in derived classes and can not be accessible by instantiating the abstract class. Then what is the optimal use of declaring private member in an abstract class.
dCol='000000';//date colour.fCol='000000';//face ...
What is the differense between native and abstract?can we declare a method as native inside an interface?if yes then why? if no then why not?
Basically it depends upon your convinence but what I have knownwhen we consider version control, where a modification of many component depends upon many classes which are repetadly used in multiple components like ejb we prefer using abstract classesbut ...
Can a abstract class have a constructor ?When would the constructor in the abstract class be called ?
All the classes including the abstract classes can have constructors.Abstract class constructors will be called when its concrete subclass will be instantiated.
Abstract Data Type is a tool which specify the logical properties of data types. ...
What is the difference between OOP (Object Oriented Programming) and POP (Procedure Oriented Programming).Example of Polymorphism.Why paging, segmentation needed.What is ADT (Abstract Data Type)?
A abstract method are the methods that have no implementation of its self(i.e by superclass).they do not have body.so the subclass have to override them . ...
An abstract class cannot be declared as final. This is because the abstract class has to be inherited by a subclass in order to implement the abstract methods. If is is declared as final, the abstract class cannot be inhereited. ...
Interfaces are used when we have to develop distributed applications or when we need to implement multiple inheritence. While abstract classes will be used when we need to develop a standalone application. ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top