Answer:
Following are the program in java
public class Vehicle // class vehicle of type public
{
private int modelYear;
Vehicle() // no parameters
{
modelYear=2018;
}
vehicle(int t) // update the value of modelYear
{
modelYear=t;
}
public static void main(String args[]) // main function
{
vehicle ob=new vehicle();// creating instance
vehicle ob1=new vehicle(45);
}
}
Explanation:
Here we create a private data member i.e modelYear of integer type .
We create default constructor and initializes modelYear variable with 2018.
we create a parametrized constructor which update the value of modelYear variable.
From the main function we call both the constructors.
Answer:
b. data entry slows as every INSERT , UPDATE, or DELETE statement must also update every index.
Explanation:
This process help to improve the speed of get data , it takes each element in the indexed column and save the location to get faster the data. But if you index every attribute in a table it going to take a lot of time locating each column in the respective index in each query(update, delete and insert). For that reason is necesary be carefull with this process and only put index in the relevant columns
Answer:
I'm not 100% on the answers . . .
Explanation:
1. A, 2. C, 3. D, 4. A, 5. D, 6. A & B, 7. False, 8. D, 9. D, 10. D
If (sales >= 10000)
commission = 0.2;
If you wish to include a header or footer on all pages in a publication, you will need to insert this by navigation to the master page.