answersLogoWhite

0

The dot operator is used to access properties and methods of an object. Types do not have properties or methods, so the dot operator cannot be used on them.

User Avatar

AnswerBot

4mo ago

What else can I help you with?

Related Questions

When to use the dot operator and when to use the arrow operator in c plus plus?

You use the dot operator when the left side is the name of the object or a reference to an object, and you use the arrow operator when the left side is a pointer to an object. Example: struct foobar x, *p= &x; x.field = p->field; (&x)->field = (*p).field;


What is the operator that cannot be overloaded?

There are 5 operators which cannot be overloaded. They are: * .* - class member access operator * :: - scope resolution operator * . - dot operator * ?:: - conditional operator * Sizeof() - operator Note:- This is possible only in C++.


Can you use Honda DOT 4 brake fluid in place of DOT 3 brake fluid for your Honda accord 2010?

Yes, you can use either DOT 3 or DOT 4 and they can be mixed. You cannot use DOT 5.


What is the Boolean operator that is appropriate to use?

Boolean is a type, not an operator and can have the value of either TRUE or FALSE


What brake fluid type to use on 1994 dodge intrepid?

DOT 3 or DOT 4


What type of brake fluid does a 1994 caprice use?

Dot 3Dot 3


How do you invoke method by using object of the class?

If you have and object with method described within its class you can use dot access operator, for instance:myObject.DoSomething();


What is use of dot in php?

The dot (.) operator in PHP is used to concatenate strings. For instance:$start = "Big";$end = "Bird";echo $start . ' ' . $end;This code would produce the output:Big Bird


What brake fluid type do you use for a 1997 Jeep Grand Cherokee?

Dot 3 or Dot 4


What is the use of 'size of' in c programming?

The sizeof operator is used to determine the length of its operand (in bytes). The operand must be a type or an object of a type (a variable). The operator is a constant expression and therefore executes at compile time. As such there is no runtime overhead in repeated use of the sizeof operator.


What type of brake fluid use in 1999 jeep?

Dot 3.


What type of brake fluid does a Yamaha r6 use?

Dot 3