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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents