What is the output of the following code?

```
public class Test {
public static void main(String[] args) {
java.math.BigInteger x = new java.math.BigInteger("3");
java.math.BigInteger y = new java.math.BigInteger("7");
x.add(y);
System.out.println(x);
}
}
```
a. 3
b. 4
c. 10
d. 11


a. 3

Computer Science & Information Technology

You might also like to view...

What is displayed by the code fragment below if the memory for next immediately follows the memory for word?

``` char word[12], next[4] = "Joe"; word[0] = 'c'; word[1] = 'a'; word[2] = 't'; printf("%s\n", word); ``` a. a line with just the word "cat" b. a line with the word "cat" followed by nine blanks c. the word "cat" followed by whatever garbage is in word[3] through word[11] followed by Joe (unless there is a null character somewhere in word[3] through word[11]) d. an error message e. the word "cat", the word "Joe", and the word "cat" again

Computer Science & Information Technology

The ________ property determines how many printers are installed on the computer.

a) PrinterSettings.InstalledPrinters.Count b) Printers.InstalledPrinters.Count c) PrinterSettings.Printers.Count d) PrinterSettings.InstalledPrinters.Number e) None of the above.

Computer Science & Information Technology

Fill in the code below in the underline:

``` public class Test { public static void main(String[] args) { Test test = new Test(); System.out.println(test.setAction3(_____________)); } public double setAction3(T3 t) { return t.m(5.5); } } interface T3 { public double m(Double d); }``` a. () -> e * 2 b. (e) -> e * 2 c. e -> e * 2 d. (e) -> {e * 2;}

Computer Science & Information Technology

Whenever you open a file, the History panel creates a(n) ____________________ at the top of the panel representing the status of the file at the time it was opened.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology