Answer:
1) The value of x will be 6.
2) The value of y will be 7.
Explanation:
1) The value of x will be 6.
The enum values are labeled by default from 1. This means that Sun = 1, Mon = 2, Tue = 3 and so on.
So, x = Mon = 2 and y = Sat = 6
x increases up to y = 6 in the while loop.
and then y also increments by 1.
2)So the value of y = 7.
You will need actual printf("Sun") or printf("Mon") for printing the actual text for the enum.
Answer:
The answer to this question is option "d".
Explanation:
In this question option d (A user fills out a form to construct a description of the data desired in a SQL search) is not true. Because SQL stands for Structured Query Language. This is a query language used to communicate with a database and a user fills the form. Which is not possible in the SQL. So the option d is not true.
Answer:
public class SimpleSquare{
public int num;
private int square;
public SimpleSquare(int number){
num = number;
square = number * number;
}
public int getSquare(){
return square;
}
}
Explanation:
*The code is in Java.
Create a class called SimpleSquare
Declare two fields, num and square
Create a constructor that takes an integer number as a parameter, sets the num and sets the square as number * number.
Since the square is a private field, I also added the getSquare() method which returns the value of the square.
Answer:
Cinematography
Explanation:
Cinematography is the blend of art and science and it deals with the recording of moving images on film or a digital storage device.
While making a movie some example of cinematography are the conclusions reached about lighting, camera filters, lenses etc.