exam questions

Exam 98-361 All Questions

View all questions & answers for the 98-361 exam

Exam 98-361 topic 1 question 9 discussion

Actual exam question from Microsoft's 98-361
Question #: 9
Topic #: 1
[All 98-361 Questions]

You create an object of type ANumber. The class is defined as follows.

What is the value of _number after the code is executed?

  • A. Null
  • B. 0
  • C. 3
  • D. 7
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
whyket90
6 months, 4 weeks ago
ran with Java private int _number = 7; public ANumber() { } public ANumber(int number) { _number = number; } public static void main(String[] args) { ANumber lp = new ANumber(3); System.out.println(lp._number); } } out put is 3
upvoted 4 times
...
DarnDarin
1 year, 2 months ago
what..............................................
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago