Answer: B) Shape is a base class, and circle and square are derived classes of Shape.
Explanation:
Shape is a base class because circle and squares are the shapes so these are the derived class of the shape, which is inherited by the shape like circle and square. As, the base class (shape) is the class which are derived from the other classes like circle and square and it facilitates other class which can simplified the code re-usability that is inherited from the base class. Base class is also known as parent class and the super class.
Answer:
#include <stdio.h>
#Include<iostream>
using namespace std;
//Define required function
PersonalInfo( )
{
printf("Name : Robert Josh\n");
printf("DOB : July 14, 1975\n");
printf("Work Phone : 00-00000000\n");
printf("Cell Phone : 11-777777777\n");
return(0);
}
int main()
{
//Call function
PersonalInfo( );
return 0;
}
Explanation:
Its just a simple code to print required details when the function PersonalInfo is called.
Answer:
The answer is "Using the DoD 5220.22-M method and Degauss media with a magnet".
Explanation:
The "DoD Standard" is a term used during the data sanitizing industry and refers to DoD 5220.22-M. The simplest ways are being used to help eliminate the previously stored data, by deleting hard disc storage facilities with the same data wherever that used a sequence of all zeros.
The sparging eliminates statistics to entirely delete the gravitational flux from electronic media. Hard drives as well as other data storage devices, for example, computer tapes, retain magnetic data. It could no longer be seen as storage after a disk is degaussed.
Answer:
The advantage for the above condition is as follows:-
Explanation:
- If a user creates a defined constant variable and assigns a value on its and then uses that variable instead of the value, then it will a great advantage.
- It is because when there is a needs to change the value of that variable, then it can be done when the user changes the value in one place. There is no needs to change the vale in multiple places.
- But if there is a value in multiple places instead of a variable and there is no constant variable, then the user needs to change the value in multiple places.