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 what is meant by the term u-area (user area)?
Factory pattern: A pattern of class definition which is employed as a generator of instances of other classes. Frequently employed to form platform- or locale-particular implementations of abstract classes or interfaces. This decreases coupling betwee
Package declaration: It is a declaration employed to name a package. This should be the first item in the source file, preceding any import statements. For example, pa
Limit the Scope of Data Declarations at the smallest possible level is consistent with the well known principle of data hiding. It stops one module from inadvertently referencing and modifying data values which are only meant to be used by another mod
Explain the applications of packing life cycle.
What is Unique Identifier and how do I determine one?
Q : Define Stream class Stream class : An Stream class: An input stream class is one which delivers data from its source (frequently the file system as a series of bytes. Likewise, an output stream class will write byte-level data. The stream classes must be contrasted with the operation of r
Stream class: An input stream class is one which delivers data from its source (frequently the file system as a series of bytes. Likewise, an output stream class will write byte-level data. The stream classes must be contrasted with the operation of r
What do you mean by the term java Swing? Describe in brief.
What are the main quality consequences of selecting an unsuitable life cycle model for a software project?
18,76,764
1945274 Asked
3,689
Active Tutors
1423191
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!