Which of the following is tightly bound ? Inheritance or composition ?
Answer / akshay
Inheritance - classes are get tightly coupled with each other. Also it develops blood relationship between the classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the tools you used for OOAD?
What are Classes and Objects?
what is meant by "method-wars"?
What is difference between class and interface?
What is the use if instanceof keyword? And how do refer to a current instance of object?
Explain about polymorphism?
How will you define abstract classes?
Does a class inherit the constructor of its super class?
Explain what you understand by function overloading.
Define exceptions?
why do requirements change so much? after all, don't people know what they want?
If a method definition has been specified in the base class and the interface which the class is implementing, which definition will be picked if we try to access it using interface reference and class object?