Question 41
Given:

What is the result?


What is the result?

Question 42
Given the code fragment:

And given the requirements:
If the value of the qty variable is greater than or equal to 90, discount = 0.5 If the value of the qty variable is between 80 and 90, discount = 0.2 Which two code fragments can be independently placed at line n1 to meet the requirements? (Choose two.)


And given the requirements:
If the value of the qty variable is greater than or equal to 90, discount = 0.5 If the value of the qty variable is between 80 and 90, discount = 0.2 Which two code fragments can be independently placed at line n1 to meet the requirements? (Choose two.)

Question 43
Given the code fragment:

Test.java

Which is the result?

Test.java

Which is the result?
Question 44
Given the code fragment:

Which three lines fail to compile?

Which three lines fail to compile?
Question 45
Given the code fragment:

Which code fragment, when inserted at line 3, enables the code to print 10:20?

Which code fragment, when inserted at line 3, enables the code to print 10:20?