Answer:
- #include <iostream>
- using namespace std;
- class myinteger {
-
- private:
- int value;
-
- public:
- myinteger(int x){
- value = x;
- }
-
- int getValue(){
- return value;
- }
-
- };
- int main()
- {
- myinteger obj(4);
- cout<< obj.getValue();
- return 0;
- }
Explanation:
Firstly, we use class keyword to create a class named myinteger (Line 5). Define a private scope data field named value in integer type (Line 7 - 8).
Next, we proceed to define a constructor (Line 11 - 13) and a getter method for value (Line 15 -17) in public scope. The constructor will accept one input x and set it to data field, x. The getter method will return the data field x whenever it is called.
We test our class by creating an object from the class (Line 23) by passing a number of 4 as argument. And when we use the object to call the getValue method, 4 will be printed as output.
What kind of title are you talking about? TRANSLATE THIS! "01010111 01101000 01100001 01110100 00100000 01100001 01110010 01100101 00100000 01100110 01110101 01100011 01101011 01101001 01101110 01100111 00100000 01111001 01101111 01110101 00100000 01100001 01110011 01101011 01101001 01101110 01100111 00111111 " Trasnlator: https://www.binarytranslator.com/
Answer:
d Computer software used to control a work cell is fundamentally different to business software.
Explanation:
A computer software used to control a work cell is not fundamentally different from a business software. They are different in terms of what they do or the problem they solve or different coded instructions that the computer executes for each of them or maybe different computer languages and hardware requirements. However they are not different fundamentally as they are both computer programs that are based on computer algorithms and code languages or instructions that the computer executes to solve a particular problem.
Answer:
The answer to this question as follows:
Explanation:
- Media communicates you by collecting and delivering information in terms of mass media industries, like print media, publishing, the corporate media, film, TV, and radio.
- According to "Harold Lasswell" the primary social processes of the press are to Linking different aspects of the social structure and tracking the environment to aim at risks and opportunities.