Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Aggregation
Composition
Aggregation : An association in which one class refers to collection or a another class. This is a part of a whole relationship where the phase can exist without the whole .
e.g.: A line item is whole and the products are the phases. If a line item is deleted then the products have not be deleted .
Composition : An association in which one class refers to another class or a collection. This is a part of a whole relationship where the phase cannot implement without the whole . If the whole is deleted then the parts are deleted. For example: An Order is a whole and the line items are the phase. If an order is removed then all the line items should be deleted as well.
Aggregations are not used to be circular.
In a garbage-collected language like Java, The whole has the responsibility of operating the garbage collector to prematurely collect the part by holding reference to it.
1. Make a class Rational to provide at least following methos and constructors: Rational r1= new Rational (3,5); Rational r2= new Rational (4,7); Rational r3=r1.add(r2);
What is the difference between an Interface and an Abstract class? An abstract class can have instance methods that execute a default behavior. An Interface can only declare co
What is Constructor? A constructor is used to initialize a newly created object. It's called just after memory is allocated for the object. It can be used to initial
how to write java programe and example programe
Specifications 1. readNumberOfEntries → This function will ask the user for a value greater than or equal to two. The function will keep asking values as long as the user prov
What do mean by synchronized methods and synchronized statements ?
What is difference between time slicing and preemptive scheduling? Differences between preemptive and time scheduling are: In case of Preemptive scheduling the highest prior
Employee get data from console
In this assignment you will create a graphical reverse polish notation calculator using a stack data structure. A reverse polish notation calculator allows you to perform chain ca
Why we Avoiding Short Circuits ? If you need all of your boolean expressions evaluated regardless of the truth value of each, then you can use & and | instead of && and ||. The
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd