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:
Explanation:
The function of ALU is to perform arithmetic operations(add,subtract, multiply,division) as well as logical operations(compare values).
The function of CU is to control and coordinate the activities of the computer.
Smaller, as it removes search results.