Answer:
A generalized class used only to create related derived classes
Explanation:
An abstract class is a class which cannot be instantiated on its own. It is defined using an abstract keyword. However, an abstract class can be inherited from and the derived class can actually be instantiated. For example:
abstract class A{
}
class B extends A{
void test(){
}
}
Here class A is an abstract class, while class B inherits from A. Now we can create an instance of class B as follows:
B b = new B();
b.test();
Answer:
Explanation:
Explicit Dependencies
<u>It states that the classes and methods should explicitly require , via constructor or method parameters all the collaborating objects that are required for the function to work properly .</u>
Classes with the implicit dependencies cost very high for the maintenance than the explicit dependencies .
Even , the implicit dependencies are difficult to test as they are tightly coupled to their collaborators .
Answer:
It can deliver the services faster with higher reliability and quality