Exam Details

  • Exam Code
    :98-388
  • Exam Name
    :Introduction to Programming Using Java
  • Certification
    :MTA
  • Vendor
    :Microsoft
  • Total Questions
    :42 Q&As
  • Last Updated
    :

Microsoft MTA 98-388 Questions & Answers

  • Question 1:

    The question requires that you evaluate the underlined text to determine if it is correct. You have the following class definition:

    The logError method can be invoked by code in all classes in the same package as the Logger class.

    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.

    A. No change is needed

    B. only by the Logger class

    C. only by the Logger class and classes in the same package that inherit from it

    D. by all classes in all packages

  • Question 2:

    You work as a Java programmer.

    You need to convert a numeric String to a primitive double value.

    What code segment should you use?

    A. Double.valueOf(numberString);

    B. double.parseDouble(numberString);

    C. String.parseDouble(numberString);

    D. Double.parseDouble(numberString);

  • Question 3:

    You need to evaluate the following code segment:

    What happens when the code segment is run?

    A. iNum has a value of 0.

    B. An exception is thrown.

    C. iNum has a value of 2.

    D. iNum has a value of 3.

  • Question 4:

    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()?

    A. 0

    B. 1

    C. 2

    D. 3

  • Question 5:

    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.

    A. No change is needed.

    B. a short

    C. a byte

    D. a long

  • Question 6:

    You have the following code segment. Line numbers are included for reference only.

    What is the output of line 07?

    A. -44

    B. -40.0

    C. 40.0

    D. 44.0

  • Question 7:

    HOTSPOT

    You need to evaluate the following code segment. Line numbers are included for reference only.

    Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code. NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 8:

    HOTSPOT

    You are interviewing for a job as a Java developer.

    You are presented with the following code. Line numbers are included for reference only.

    You need to evaluate what happens when the code runs.

    Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 9:

    HOTSPOT

    You need to evaluate the following Java program. Line numbers are included for reference only.

    Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code. NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 10:

    HOTSPOT

    You write the following code:

    You need to determine the values of the data1, data2, data3, and data4 variables.

    Use the drop-down menus to select the answer choice that answers each question based on the information presented in the code.

    NOTE: Each correct selection is worth one point.

    Hot Area:

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 98-388 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.