Answer:
The above query gives an error.
Explanation:
- The query gives an error because is not the correct syntax of the select or inserts query.
- The syntax of the select query is as follows: "select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name;".
- The syntax of the insert query is : "insert into table_name (column_1_name, column_2_name,...,column_n_name) values (column_1_value, column_2_value,...,column_n_value);".
- The syntax of the insert and select query is : "insert into table_name (select Attributes_1_name, Attributes_2_name,...., Attributes_n_name from table_name);".
- But the above query does not satisfy any property which is defined above. Hence it gives a compile-time error.
A doorknob is an example of a:
D. Wheel and Axle.
I hope this helped ^_^
C. An ad targets an audience the creators hope will but the product.
Answer:
It displays an error message from the getDouble() method
Explanation:
The above would be the result because of the following
1. Variable d is declared as a double variable and should be used as such.
2. The getDouble() method is also defined to handle double variables only.
When the program tries to accept at
weightInPounds = getDouble(sc, prompt);
The getDouble method is called immediately and since the value
"two hundred" entered in string, it can't handle this data type and it (the getDouble method) will display an error message