Answer:
The class definition to this question can be given as:
Class definition:
public class Value //define class value.
{
private boolean modified = false; //define variable modified.
private int val; //define variable.
Value(int i) //parameterized constructor
{
val = i; //holds parameter value.
}
public int getVal() //define method getVal.
{
return val;
}
public void setVal(int i) //define method setVal
{
val = i; //holds parameter value
modified = true; //change boolean variable value.
}
public boolean wasModified() //define method wasModified.
{
return modified; //return value.
}
}
Explanation:
The description of the above class definition as follows:
- Firstly we define a class that is "value" inside a class we define two variable that is "modified and val". Where modified is a boolean variable that holds boolean value true or false and val is an integer variable that holds an integer value.
- Inside the class, we define parameterized constructor in this constructor we pass an integer parameter that is "i" inside this constructor we use the val variable for hold i variable value.
- Then we define three functions that are "getVal, setVal, and wasModified".
- The getVal() function is used for return value. The setVal() function uses an integer parameter that is "i" this function holds value in variable i in val variable and change value of the modified variable that is "true". The wasModified() function is used to return modified variable value.
Answer:
1) Gigabyte (Ram Storage Unit)
2) Moore's Law ( states that computing power doubles after every two years)
3) Intel (Producers of computer processors)
4) LCD (Liquid Crystal Display is only concerned with the monitor display and has nothing to do with processor power
5) Control Unit and and the arithmetic logic unit
6) The chip's proximity to the CPU
Explanation:
The RAM which refers to the Random Access Memory is a storage device with capacity measured in units of gigabytes (GB). The computer generally store information in bytes and one gigabyte is the equivalent of 1 billion bytes.
<span>Chart
</span>With the exception of a Chart, the Paste command allows you to paste an object without creating a link.
THE correct answer is c 10 minuets