Answer:
public class Car {
//Member variables    
private int yearModel;
    private String make;
    private int speed;
    //Constructor
    public Car(int yearModel, String make, int speed) {
        this.yearModel = yearModel;
        this.make = make;
        this.speed = speed;
    }
    //Accessor Methods getters and setters
    public int getYearModel() {
        return yearModel;
    }
    public void setYearModel(int yearModel) {
        this.yearModel = yearModel;
    }
    public String getMake() {
        return make;
    }
    public void setMake(String make) {
        this.make = make;
    }
    public int getSpeed() {
        return speed;
    }
    public void setSpeed(int speed) {
        this.speed = speed;
    }
    //Accelerate function
    public void accelerate(){
        this.speed+=5;
    }
    // Brake function
    public void brake(){
        this.speed-=5;
    }
}
Explanation:
- As required by the question, The class Car is created using Java programming language
- The members variables, the constructor, The accessor methods are all created as required by the question (Please pay attention to the comments added to the code)
- The accelerate and brake functions that add and subtract 5 from the speed member variable respectively are also created. 
 
        
             
        
        
        
Answer:
You can select non contiguous cells by holding down the Ctrl key as you select, with the mouse.
 
        
                    
             
        
        
        
Answer:
The Operating System allocates resources when a program need them. When the program terminates, the resources are de-allocated, and allocated to other programs that need them
 
        
             
        
        
        
By default, if you do not implement a constructor, the compiler will use an empty constructor (no parameters and no code). The following code will create an instance of the MyObject class using the default constructor. The object will have the default vauesfor all the attributes since no parameters were given. 
MyObject obj = new MyObject();
Another type of constructor is one with no parameters (no-arg constructor). It is similar to the default, except you actually create this constructor. The contents of the the constructor may include anything. To call a no-arg constructor, use the same line of code as above. The constructor can look like the one below:
public MyObject() {
System.out.println("This is a no-arg constructor");
}
Lastly there is the parameterized constructor. This type of constructor takes in parameters as inputs to assign to values in the newly created object. You call a parameterized constructor as follows:
MyObject obj = new MyObject("Bob", 20);
The constructor will look like this:
public MyObject(String name, int age) {
this.name = name;
this.age = age;
}
In the constructor, the keyword "this" refers to the object, so this.name is a private global variable that is being set equal to the inputted value for name, in this case "Bob".
Hope this helps!