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.
Object serialization: The writing of an object's contents in such a manner that its state can be restored, either at a later time, or in a different procedure. This can be employed to store objects between runs of a program, or to transfer or shifts o
Differentiate overriding and overloading method?
Define the term Local inner class and Local variable: Local inner class: It is an inner class stated in a method. Local variable: It is a variable defined within
1. Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will print "7", and Bert says, no, when the function exits the changes get reversed and the value goes back to "5". Expl
When does a name clash take place in programming?
Pop-up menu: A menu of actions which is generally not visible on the screen till a mouse button is clicked. The Popup menus assist to keep a user interface from becoming cluttered.
Write the benefits of DLR?
Explain the way to open just one resistance of vb application (.exe).
Define the term Multiprogramming system: It is an operating system which is able to run multiple programs parallel.
Illustrate the difference between persistent and non-persistent objects in the programming?
18,76,764
1930262 Asked
3,689
Active Tutors
1458762
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!