Web Analytics

Assume that the following code exists inside a method of SomeClass, and that this code compiles without errors:

int result = obj.calculate(4, 3.14);


Which of the following can you know to be true about the calculate method?

I. It is a public method.

II. It is located in SomeClass.

III. It is not located in SomeClass.


a.Statement I only.

b.Statement II only.

c.Statement III only.

d.Statements I and II only.

e.Statements I and III only.