Java SE 11 Cert Exam with all Correct & 100% Verified
Answers |Guaranteed to Pass
Casting ✔Correct Answer-The process of taking one object type and converting it to another
object type
Precision ✔Correct Answer--precision refers to the format and space occupied by a type
-single precision has 32 bits (width of 32)
-double precision has 64 bits (width of 64)
Why double is recommended over float ✔Correct Answer-1)Faster on many modern
computers
2)Java libraries are often written to process doubles and to return the result as a double
3)Java treats double as default floating point number if you do not specify
Are float and double types good to use for precisce calculations? ✔Correct Answer-No
Unicode ✔Correct Answer--An international encoding standard for use with different
languages and scripts
-Each letter, digit, or symbol is assigned a unique numeric value that applies across different
platforms and programs
char ✔Correct Answer--primitive data type represented by 'single quotes'
-used to represent a single character
-char occupies 2 bytes or 16 bits of memory
-reason that it does not occupy a single byte is that it allows you to store unicodes
boolean ✔Correct Answer--allows for 2 choices, true or false
T or F: Strings in Java are immutable ✔Correct Answer-True
Strings ✔Correct Answer-- are a class in Java
-NOT a primitive data type
-a sequence of characters
-Strings in java are immutable
Operator ✔Correct Answer-Special symbol that performs a specific operation on one or more
operand
Operand ✔Correct Answer-Any object that is being manipulated by an operator
Answers |Guaranteed to Pass
Casting ✔Correct Answer-The process of taking one object type and converting it to another
object type
Precision ✔Correct Answer--precision refers to the format and space occupied by a type
-single precision has 32 bits (width of 32)
-double precision has 64 bits (width of 64)
Why double is recommended over float ✔Correct Answer-1)Faster on many modern
computers
2)Java libraries are often written to process doubles and to return the result as a double
3)Java treats double as default floating point number if you do not specify
Are float and double types good to use for precisce calculations? ✔Correct Answer-No
Unicode ✔Correct Answer--An international encoding standard for use with different
languages and scripts
-Each letter, digit, or symbol is assigned a unique numeric value that applies across different
platforms and programs
char ✔Correct Answer--primitive data type represented by 'single quotes'
-used to represent a single character
-char occupies 2 bytes or 16 bits of memory
-reason that it does not occupy a single byte is that it allows you to store unicodes
boolean ✔Correct Answer--allows for 2 choices, true or false
T or F: Strings in Java are immutable ✔Correct Answer-True
Strings ✔Correct Answer-- are a class in Java
-NOT a primitive data type
-a sequence of characters
-Strings in java are immutable
Operator ✔Correct Answer-Special symbol that performs a specific operation on one or more
operand
Operand ✔Correct Answer-Any object that is being manipulated by an operator