Solved

What Is the Function of the Dot Operator

Question 1

Multiple Choice

What is the function of the dot operator?


A) It serves to separate the integer portion from the fractional portion of a floating-point number.
B) It allows one to access the data within an object when given a reference to the object.
C) It allows one to invoke a method within an object when given a reference to the object.
D) It is used to terminate commands, similar to the way a period terminates a sentence in English.
E) Both B and C are correct.

Correct Answer:

verifed

Verified

Related Questions