Question 64 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 64 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given:

public class MarkList {

int num;

public static void graceMarks (MarkList obj4) {
obj4.num += 10;

}

public static void main(string[] args) {
MarkList objl = new MarkList ();
MarkList obj2
MarkList obj3
obj2.num = 60;
graceMarks (obj2);

How many MarkList instances are created in memory at runtime?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.