helps us for typing letters, numbers and symbols etc.
Answer:
- public static void main(String[] args) {
- printErrorDescription(14);
- }
-
- public static void printErrorDescription(int value){
- //some codes
- }
Explanation:
Given a function <em>printErrorDescription() </em>with one parameter (Line 5 - 7). To call the function, we can write the function name and place the value of 14 within the parenthesis (Line 2). The value of 14 is a function argument. The value of 14 will be processed within the function to meet some purposes.
Answer:
I'm thinking d
Explanation:
i dont think we are advanced enough to do a,b, or c.
so imma say d
Answer:
B. string -> (int -> int)
Explanation:
We are going to perform comparison operations '->'. It is important to notice that the comparison operation gives us a bool value (True or False) and the comparison operation is legal if and only if the data types to be compared are the same.
Example:
int(4)->int(5) False
int(4)->int(4) True
int(4)->string(4) Error, data types don't match
For this reason:
- A. Is legal because float -> float evaluates to True, True is a boolean value and bool -> bool is legal because both are the same data type.
- B. Is illegal because int -> int evaluates to True, True is a boolean value and string is not a boolean (string -> bool).
- C. Is legal because int is the same type than int.
- D. Is legal because the list is the same type than list regardless it's content.
Note:
The operations inside parentheses are evaluated first.
List is a type by itself regardless of its content.
The reason the term "burn" is used is because the CD-writer, or burner, literally burns the data onto a writable CD. The laser in a CD-writer can be cranked up to a more powerful level than an ordinary CD-ROM laser. This enables it to engrave thousands of 1's and 0's onto a CD.
So that is why people talk about "burning" songs or files to CDs. They could just say they are "writing" the data to a CD, and it would make sense, but people seem to think "burning" sounds cooler.