Inheritance (is-a) relationships are derived child classes that inherit attributes and methods from their parent class. Composition (has-a) relationships are classes whose attributes are comprised of other classes. Each relationship has its advantages and disadvantages. See the link below for best uses of each.
For example:
class Animal { }
class Dog extends Animal { }
This means Dog IS-A animal
2. HAS-A simply means reference
For example:
class Nip { }
class Dog { private Nip nip;}
This means Dog HAS-A Nip
Hope this helped!! :)
Answer:
True
Explanation:
Deliberate practice is often considered superior to regular practice as the latter involves repetitions which are mindless in nature. Deliberate practice is a systematic process which is purposeful in effect that it is tailored towards a calculated outcome and the process is planned and executed accordingly. This method is more efficient and focused and hence results in better use of time, energy, and other resources.
3.Mass is the amount of matter in a object
Answer:
None. Mr. Frank is not Mrs. Van Daan's husband
Explanation:
Anne Frank's diary tells the story of Anne, a Jewish girl who lived in hiding with her family and other Jews, not to be taken to Nazi concentration camps and extermination. Unfortunately, the hideout was found and everyone was forced to go to the concentration camp, where Anne ended up dying.
The impactful account of the girl, led her diary to be one of the best selling books in the world, in addition, the book was adapted for films and even plays, like the one you mention in the question.
The other Jewish family that was hidden with the Anne Frank family, was the Van Daan family, which was composed of Ms. Van Daan, her husband, Mr. Van Daan, and her son Peter Van Daan.