98-388 Exam Details

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

Microsoft 98-388 Online Questions & Answers

  • Question 11:

    HOTSPOT

    You write the following Java program for Munson's Pickles and Preserves Farm. Line numbers are included for reference only.

    You encounter error messages when you attempt to compile the program.

    You need to ensure the program compiles successfully.

    How should you complete the code? To answer, select the appropriate code segments in the answer area.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 12:

    HOTSPOT

    You need to evaluate the following code. 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 13:

    DRAG DROP

    You are writing a Java method that evaluates an arithmetic formula.

    The method accepts an int value named number, raises the value to the second power, and returns the negative value of the result.

    How should you complete the code? To answer, drag the appropriate code segment to the correct position. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

    NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 14:

    HOTSPOT

    You write the following Java program for Munson's Pickles and Preserves Farm. Line numbers are included for reference only.

    You encounter error messages when you attempt to compile the program.

    You need to ensure the program compiles successfully.

    How should you complete the code? To answer, select the appropriate code segments in the answer area.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 15:

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

    B. 1
    C. 2
    D. 3

  • Question 16:

    HOTSPOT

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

    The code does not compile.

    For each of the following statements, select Yes if the action is required to resolve the compilation error. Otherwise, select No.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 17:

    HOTSPOT

    You work as an intern Java programmer at Adventure Works. Your team lead asks you to create a method. The method must meet the following requirements:

    Accept an int array

    Check for duplicate values in the array

    Stop the outer loop as soon as a duplicate value has been detected and return true

    Return false if all values in the array are unique

    How should you complete the code? To answer, select the appropriate code segments in the answer area.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 18:

    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 19:

    HOTSPOT

    You work for Woodgrove Bank as a Java programmer.

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

    For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 20:

    HOTSPOT

    You are writing a Java method. The method must meet the following requirements: Accept a String array named entries Iterate through entries Stop the iteration and return false if any element has more than 10 characters

    Otherwise, return true How should you complete the code? To answer, select the appropriate code segments in the answer area. 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.