Answer the following statements true (T) or false (F)
1) The AND operator returns a TRUE result if one of the two conditions is true.
2) The substitution variable can be deleted with UNDEFINE command.
3) The WHERE clause restricts individual rows, but it does not filter columns.
4) There is no restriction in deleting a row from a parent table.
5) The DELETE statement without a WHERE clause has the same effect as
TRUNCATE.
1) F
2) T
3) T
4) F
5) T
You might also like to view...
Modify the tutorial’s Microwave Oven application to include an additional digit, which would represent the hour. Allow the user to enter up to 9 hours, 59 minutes and 59 seconds (Fig. 18.40).
a) Copying the template to your working directory. Copy the C:Examples Tutorial18ExercisesMicrowaveOven2 directory to your C:SimplyJava direc- tory.
b) Opening the template files. Open the MicrowaveOven.java and CookingTime.java
files in your text editor.
c) Adding the hour variable. To allow users to enter a cooking time that includes the hour digit, you will need to modify the CookingTime.java template file. Declare a new private instance variable hour (line 7). Change the CookingTime constructor starting on line 11, to take a third int named hourValue as its first parameter. The constructor header should be split into two lines for readability. Call method set- Hour from inside the constructor to set the hour instance variable.
d) Adding the getHour and setHour methods. Use the get and set methods already declared in class CookingTime as your template to create the get and set methods beginning on line 21 for the instance variable hour, in the CookingTime class.
In a for statement, the last action to take place is that ____.
A. the update statement is executed B. the for loop condition is evaluated C. the counter variable is initialized D. the statements execute