✏️ Explanatory Question

What is dot operator?

👁 1,690 Views
📘 Detailed Answer
💡

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.