beware of $-NZ-700 courseware for SCJA
About a month ago I purchased courseware for Sun SCJA exam it cost me in New Zealand just over $700
I brought to the attention of the New Zealand agent who ......
Identify the statement that adheres to type casting guidelines
(1) int appleCount = (long) orangeCount
(2) long appleCount = (int) orangeCount
(3) short appleCount = (int) orangeCount
I went for (2) as (1) goes from a 64 long to a 32 bit int
and (3) goes from a 32 bit int to a 16 bit short
OK the choice (2) I made was correct but the reason was wrong
Correct The statement is conventing a Long value into a Int Value
THIS IS WRONG IN MY OPINION AS IT DOES THE REVERSE IT CONVERTS A INT INTO A LONG
MY SECOND ERROR I FOUND
Identify the correct statement about the do/while loop
(a) The body of the loop is processed if the expression returns true.
(b) The body of the loop is processed at least once.
(c) The body of the loop is processed if the expression returns false.
I WENT FOR OPTION (B) AND GOT
IT APPEARS "THEY" THINK OPTION (a) IS THE CORRECT OPTION
AM I LOSING IT? OR IS THE COURSEWARE TRYING TO CONFUSE THOSE WHO WASTE MONEY BUYING THEIR COURSEWARE?