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.
Application: It is frequently used, simply as a synonym for the program. Though, in Java, the word is particularly employed of programs with a Graphical User Interface (GUI) which are not applets.
Define class?
Uninitialized variable: It is a local variable which been declared, however has had no value allocated to it. The compiler will warn of variables that are employed before being initialized.
Control structure: A statement which affects the flow of control in a method. The typical control structures are if statements and loops.
Explain the term QTP Environment?
What is a Real-Time System?
Input output formatting in C++: C++ support
Method: The portion of a class definition which implements some of the behavior of objects of the class. The body of the method includes declarations of local variables and statements to execute the behavior. The method receives input through its argu
New operator:
Explain what is the function of STR and LPSTR?
18,76,764
1958431 Asked
3,689
Active Tutors
1420138
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!