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.
Explain the way to close an XHTML element.
Hash function: A function employed to generate a hash code from the random contents of an object. The classes can override the hash Value method, inherited from the Object class, to state their own hash function.
Explain what is the function of STR and LPSTR?
Normal 0 false false
Explain the way to enter element content.
An integer number is said to be a perfect number if its factors, including 1 (but not the number itself), sum to be the number. For example, 6 is a perfect number because 6 = 1+ 2+ 3. Write a function perfect that determines if parameter number is a perfect number. Us
Shortcut key: A key-press related with a component in a Graphical User Interface (abbreviated as GUI) which provides an alternative to choosing the component's operation with mouse.
Comment: It is a piece of text proposed for the human reader of a program. The compilers disregard their contents.
Q. Explain type conversion rules for basic data types in java. Ans. Type promotion rule: Java automatically each bits or short operant to int when evaluating an expression. As usual as the automatic promotion
18,76,764
1939527 Asked
3,689
Active Tutors
1418914
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!