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

    DRAG DROP

    Traders hires you to write a Java program to manage account openings. To open a new account, a user must meet one the following requirements:

    be over 65 years old and have a minimum annual income of 10,000

    be at least 21 and have an annual income greater than 25,000

    How should you complete the code? To answer, drag the appropriate operator to the correct position. Each operator 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 2:

    HOTSPOT

    You are writing a Java class named SavingsAccount. The class must meet the following requirements:

    Inherit from an existing class named Account

    Include a constructor that uses the base class constructor to initialize the starting balance

    Include a substitute toString() method

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

    HOTSPOT

    You are creating a method that converts a string representation of a number into an actual number.

    The numbers passed into the method include whole numbers and fractional numbers.

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

    HOTSPOT

    You are developing a Java program to play Tic-Tac-Toe. You define the following array to store the state of the board:

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

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

    DRAG DROP

    You have the following code:

    You need to create an int array named numbers initialized with num1, num2, and num3.

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

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

    DRAG DROP

    You attend an interview for a job as a Java programmer.

    You need to declare a two by three array of the double type with initial values.

    How should you complete the code? To answer, drag the appropriate code segment to the correct location. 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 9:

    DRAG DROP

    You are writing a Java method.

    The program must meet the following requirements:

    Accept a String parameter firstName

    Display a welcome message that contains firstName

    Ensure that the first letter of the name is capitalized, and the remaining letters are in lowercase

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

    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:

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.