Microsoft Introduction to Programming Using Java - 98-388 FREE EXAM DUMPS QUESTIONS & ANSWERS
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.

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.

Correct Answer:


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

What is the output of line 12 when you run printint()?
Correct Answer: D
Vote an answer
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.


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.


Correct Answer:

Explanation

References:
https://docs.oracle.com/javase/7/docs/api/java/io/InputStreamReader.html
You are writing a Java program.
The program must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.

The program must meet the following requirements:

How should you complete the code? To answer, select the appropriate code segments in the answer are a. NOTE: Each correct selection is worth one point.

Correct Answer:


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.

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.

Correct Answer:

