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

    HOTSPOT

    You are writing a Java console program. The program accepts command line arguments.

    You need to ensure that the main method parses and handles each command line argument.

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

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

    DRAG DROP

    You have a Java class named InsurancePolicy.

    You need to define a constant data member named RATE. The data member must be accessible by any class without instantiating the InsurancePolicy class.

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

    DRAG DROP

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

    Which three values will be displayed in sequence? To answer, move the appropriate values from the list of values to the answer area and arrange them in the correct order. NOTE: Each correct selection is worth one point.

    Select and Place:

  • Question 25:

    HOTSPOT

    You are writing a Java program.

    The program must meet the following requirements:

    Truncate firstName to its first five characters

    Set output to a string that contains the firstName and the number of characters in firstName

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

    HOTSPOT

    You are interviewing for a job as a Java developer. You need to demonstrate your understanding of switch statements.

    For each of the following code segments, select Yes if the code segment can be changed to a switch statement with up to three case statements. Otherwise, select No.

    NOTE: Each correct selection is worth one point.

    Hot Area:

  • Question 27:

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

    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:

  • Question 29:

    DRAG DROP

    Your instructor asks you to evaluate four arithmetic code segments.

    What is the value of each code segment? To answer, drag the appropriate value from the column on the left to its code segment on the right. Each data 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.

    Select and Place:

  • Question 30:

    HOTSPOT

    You are creating a Java console application.

    You need to read a birthdate entered by the user.

    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.