Answer:
D)One big superclass can be used instead of many little classes.
Explanation:
Inheritance could be described as getting new class on another existing class with almost same execution,
inheritance allows codes to be re-used. It should be noted that inheritance bring about the code sharing among class.
The advantages of using inheritance includes but not limited to
✓ Code that is shared between classes needs to be written only once.
✓Similar classes can be made to behave consistently.
✓ Enhancements to a base class will automatically be applied to derived classes.
Since you provide no choices, here are several things that should cover every part of the worksite :
- Emergency exit
- Safety measures
Hope this helps
Answer:
<u>vecCont.capacity()</u> returns the maximum number of elements that can be inserted into the vector container vecCont without reallocation.
Explanation:
Consider the provided information.
vecCont.capacity() is a function that returns the maximum number of elements(without reallocation) that can be inserted into the container.
<u>vecCont.capacity()</u> returns the maximum number of elements that can be inserted into the vector container vecCont without reallocation.
Answer:
range
Explanation:
range(num1, num2) returns the numbers from num1 up to but not including num2.
Example: range(1, 4) will return the numbers 1, 2, 3.
Hope this helps :)
12:21 is the correct answer