Home / Questions / What is dot operator?
Explanatory Question

What is dot operator?

👁 1,690 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

The dot operator(.) is used to access the instance variables and methods of class objects.It is also used to access classes and sub-packages from a package.