Explanation:
Below is required code in java :-
public class Table{
private String color; //attribute to store the color of the table
public Table(){ //default constructor
this.color=""; //set a default blank color
}
public Table(String color){ //overloaded constructor
this.color=color; //set the color value equal to the parameter provided
}
public void setColor(String color){ //setter or mutator method
this.color=color; //set the color value equal to the parameter provided
}
}
Answer:
She made the first computer.
Explanation:
Augusta Ada King, Countess of Lovelace (née Byron; 10 December 1815 – 27 November 1852) was an English mathematician and writer, chiefly known for her work on Charles Babbage 's proposed mechanical general-purpose computer, the Analytical Engine.
Answer:
Answers explained with appropriate comments
Explanation:
1. seekp() //the seekp sets the position where the next character is to be //inserted into the output stream.
2. fstream //fstream is used for input and output for files
//just like iostream for input and output data
3. tellp(); //tellp returns the "put" or write position of the file.
4. ios::ate //ate meaning at the end, sets the file output at the file end
5. binary files //binary files only store 0s and 1s
6. seekg() //seekg is used to move write position of the file
7. put //this is used to "put" or set records or arrays to a single file
8. std::ws
, skips //the std::ws is used to discard leading whitespace from an //input stream
9. peek //this looks at the next character in the input sequence
10. get, peak //get and peek do not skip leading whitespace characters
The three primitive data types used in this course are int (integer numbers), double (decimal numbers), and boolean (true or false). Each variable has associated memory that is used to hold its value.
Answer:
"Cloud computing" is the correct answer .
Explanation:
Cloud computing is defined as it provided the resources of the system like data storage etc on the demanding purpose. In cloud computing, it provided the resources without knowing the management. Social media is one of the examples of cloud computing.
- Cloud computing is a model in the computer system that stores the bulk data provided the services to the user on demands.
- Cloud computing acts as a shared pool of virtual resources on the internet.