why dont u just type it? sorry >.<
Answer:
The class definition for above problem in java is as follows:-
Explanation:
class Counter // class counter
{
int counter; // variable counter
Counter(int v) // construtor
{
counter=v;
}
void increment() //increment function
{
counter=counter+1;
}
void decrement() //decrement function
{
counter=counter-1;
}
int getValue() //getvalue function
{
return counter;
}
}
Code Explanation:
- The above class definition is in java language.
- In this code, the name of the class is a Counter and it holds the three functions (increment, decrement and getvalue) and one constructor which is mentioned in the question.
- To call the above class and their function firstly the user needs to create an object of the counter class in the main function by passing the one integer value on it.
- The object declaration statement calls the constructor.
- And then any function can be called by the object of the class with the help of the dot operator.
As for this problem about the part of the Internet, the most probable and the most likely to be the answer out of the options presented together with the problem is A. Interface.
<span>Interface would be the part of the Internet that you typically see. Interface is the widely known term used for GUI or Graphics User Interface. This covers about as to how you handle your desktop or computer. Basically, the moment the browser is opened, the interface appears. The other options are also arguable and that they might also pose the possibility of them being the correct answer taken as they are. Interface would cover them all and be the most likely answer.</span>
Answer: because computers are our main source of communicating and where we find a wide range of information to help us
Explanation:
The main reason for data backup is to save important files if a system crash or hard drive failure occurs. There should be additional data backups if the original backups result in data corruption or hard drive failure.Additional backups are necessary if natural or man-made disasters occur