Answer:
Java Class given below
Explanation:
class ReadOnly
{
protected int val;
public ReadOnly(int arg)
{
val = arg;
}
public int getVal()
{
return val;
}
}
class ReadWrite extends ReadOnly
{
private boolean dirty;
public ReadWrite(int arg)
{
super(arg);
dirty = false;
}
public void setVal(int arg)
{
val = arg;
dirty = true;
}
public boolean isDirty()
{
return dirty;
}
}
Answer:
optical
Explanation:
The earliest of these was the magnetic device. Computer systems began with magnetic storage in the form of tapes (yes, just like a cassette or video tape). These graduated to the hard disk drive and then to a floppy disk.
Answer:
all of them are responsibilities
Explanation:
1-Input unit
2-output unit
3-storage
4-central processing unit
5-arithmetic and logic unit