Microsoft 98-388 Introduction to Programming Using Java Online Training
Microsoft 98-388 Online Training
The questions for 98-388 were last updated at Dec 19,2024.
- Exam Code: 98-388
- Exam Name: Introduction to Programming Using Java
- Certification Provider: Microsoft
- Latest update: Dec 19,2024
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.
HOTSPOT
You are creating a method that processes invoices. The invoices are contained in an ArrayList
instance. After each invoice is processed, the method must remove the invoice from the ArrayList instance.
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.
HOTSPOT
You are writing a Java method. The method accepts a two-dimensional String array and prints the content of each array element. The size of each dimension of the array might be different.
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.
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.
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.
DRAG DROP
You are writing a Java program that collects patient information and stores it in a database. You need to ensure that the program stores data using the least amount of memory.
Which data type should you use to complete each variable declaration? To answer, drag the appropriate data type 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.