Computers and Technology, 21.10.2020 20:01 lazarus10
1. Which of the following is not the name of a Java wrapper class from the Java API?
A. Byte
B. Int
C. Long
D. Boolean*
2. Which of the following statements will cause a compiler error?
A. Integer i = new integer ( ) ;*
B. Integer j = new integer ("5") ;
C. Integer k = Integer. valueOf ("5");
D. int m = Integer. pareseInt ("5");
3. If variables j and k refer to objects of type Double and j . compareTo (k) returns a value of 1, which of the following is true?
A. The double value held in j is less than the value held inside k.
B. The difference between values held in j and k is 1.*
C. The double values held inside j and k are both positive.
D. The double value held inside j is greater than the value held inside k.
4. What is a radix as used in the method parseInt (String s, int radix) from the integer class?
A. A numeric base 2 such as for binary or 16 for hexadecimal.
B. The number of characters in the string that represent integers.*
C. The Unicode character code to be used when parsing the string.
D. The number of times the string should be repeated before being converted to an int.
5. Which of the following is a static method of the integer class?
A. intValue ( )
B. parseInt ( )
C. toString ( )*
D. compareTo ( )
6. Which of the following statements will cause a compiler error?
A. Double a = new Double (10.6) + 3;
B. Integer b = 0;*
C. Double c = 0;
D. int d = new Integer (7) ;
7. Which of the following is not an example of autoboxing?
A. Boolean a = false
B. Integer b = new integer (9);
C. double x = 3.0;
Double c = x;
D. Character d = β2β;*
8. What is the result of the following code fragment?
BigInteger a = new BigInteger (β10β);
BigInteger b = new BigInteger (β25β);
a . multiply (b);
a . add (b);
System. out. println (a);
A. 10
B. 35
C. 250 *
D. 275
9. What is the name of the BigInteger method that will calculate the remainder of division by another BigInteger?
A. modulo ( )
B. modulus ( )*
C. divisor ( )
D. remainder ( )
the ones marked in asterisks are my answers, I'm not totally sure if they're right and would like someone to double check for me
Answers: 3
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
Computers and Technology, 22.06.2019 19:00
Stacy works as blank. the most important soft skill she needs for this role is blank.
Answers: 3
Computers and Technology, 23.06.2019 17:00
What are the 12 colors of the spectrum called?
Answers: 1
Computers and Technology, 24.06.2019 00:00
Visualizing a game of βtagβ to remember the meaning of contagious
Answers: 3
1. Which of the following is not the name of a Java wrapper class from the Java API?
A. Byte
...
...
Mathematics, 11.11.2020 18:10
History, 11.11.2020 18:10
Social Studies, 11.11.2020 18:10
History, 11.11.2020 18:10
Mathematics, 11.11.2020 18:10
Medicine, 11.11.2020 18:10
Mathematics, 11.11.2020 18:10
English, 11.11.2020 18:10