Aggregation and containment in the Programming
Illustrate the basic difference between Aggregation and containment in the Programming?
Expert
Aggregation is a relationship between the whole and a part. We can add or subtract some of the properties in the part (or slave) side. It won’t influence the whole part.
Best illustration is Car that comprises the wheels and some additional parts. Even although the parts are not there we can call it as car.
However, in the case of containment the entire part is influenced when the part in that got influenced. The human body is an apt instance for this relationship. Whenever the whole body dies the parts (heart and so on) are died.
State the term INODE. Answer: It is a pointer to a block upon the disk and is a unique number. This holds metadata of files.
Overriding for chaining: It is a form of method overriding in which the sub-class version of a method verifies to see whether it can react to the message on its own and just calls the super-class version of the method.
What are tools require View XHTML Documents?
Classpath: The path searched by interpreter and compiler for class definitions. The class path might be set by a command-line argument to either, or through an environment variable.
New operator:
You have a driver as drives a long signal and connect to an input device. On the input device there is either undershoot, overshoots or signal threshold violations, so what can be done to correct such problem?
Define the term Sibling sub classes: Classes which have similar immediate super-class.
Macro in C: Macros are defined as single identifier
Race hazard: It is a situation which occurs between multiple threads sharing a resource. The race hazard occurs whenever one thread's suppositions regarding the state of a resource are invalidated by the actions of the other thread.
18,76,764
1941041 Asked
3,689
Active Tutors
1413575
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!