Download Microsoft.98-388.ActualTests.2019-11-12.6q.vcex

Download Exam

File Info

Exam Introduction to Programming Using Java
Number 98-388
File Name Microsoft.98-388.ActualTests.2019-11-12.6q.vcex
Size 119 KB
Posted Nov 12, 2019
Download Microsoft.98-388.ActualTests.2019-11-12.6q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

You have the following code segment. Line numbers are included for reference only. 
  
What is the output of line 07?


  1. -44
  2. -40.0
  3. 40.0
  4. 44.0
Correct answer: B



Question 2

You need to analyze the following code segment. Line numbers are included for reference only. 
  
What is the output of line 12 when you run printInt()?


  1. 0
  2. 1
  3. 2
  4. 3
Correct answer: A



Question 3

The question requires that you evaluate the underlined text to determine if it is correct. 
You should use an int data type to store the numeric value 3,000,000,000 (3 billion) so that the least amount of memory is used. 
Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct.


  1. No change is needed.
  2. a short
  3. a byte
  4. a long
Correct answer: D



Question 4

You need to evaluate the following code segment:
  
What happens when the code segment is run?


  1. iNum has a value of 0.
  2. An exception is thrown.
  3. iNum has a value of 2.
  4. iNum has a value of 3.
Correct answer: C



Question 5

You work as a Java programmer. 
You need to convert a numeric String to a primitive double value. 
What code segment should you use? 
Double.valueOf(numberString);


  1. double.parseDouble(numberString);
  2. String.parseDouble(numberString);
  3. Double.parseDouble(numberString);
Correct answer: B
Explanation:
References:https://www.javacodeexamples.com/convert-string-to-primitive-example/140
References:
https://www.javacodeexamples.com/convert-string-to-primitive-example/140









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files