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

6mo 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 is use of dot operator in java?

"the dot" connects classes and objects to members. The places where you use it in what I cover are:(1) when you are connecting an object reference variable to a method. The Extending Existing Classes lesson introduces the dot operator for this use, and(2) when you are connecting a class name to one of its static fields. An example of this is the dot between "System" and "out" in the statements we use to print stuff to the console window. System is the name of a class included in every Java implementation. It has an object reference variable that points to a PrintStream object for the console. So, "System.out.println( "text") invokes the println() method of the System.out object.


What type of brake fluid does a Hyster N40XMR3 forklift use?

The Hyster N40XMR3 forklift typically uses DOT 3 or DOT 4 brake fluid, which is a glycol-based fluid. It's important to check the operator's manual or manufacturer's specifications for the correct type and any specific recommendations. Regular maintenance and appropriate fluid levels are crucial for optimal braking performance.

Trending Questions
What device are you transmitting to with the Format Prefix FF0E on a network running IPv6? What are the alternatives for connecting to a WAN? How do you make your computer say something when you turn it on or say when your battery's low? What layer of the OSI model does CDP work at? Given that a satellite signal travels at the speed of light exactly how long does it take for a signal to go from the Earth to a satellite in geosynchronous orbit and back to Earth Show the calculat? How do you set a digital relic watch? When was Skyline Aviation Software created? What are the operating systems used on Internet servers? How do you get arouned the school blocks? A computer is experiencing random reboots and phantom problem that disappear after rebootwhat should you do? What is the equipment used before cad? Would you recommend a divisional structure by geographic area product customer or process for a medium sized bank in your local area why? 13 What is the main reason why the old floppy discs have died out? How does a multitape Turing machine differ from a single-tape Turing machine in terms of computational power and efficiency? How can you get o'reilly's auto parts w2 off the internet? What icon allows you to view networked computers when a network card is installed? Under what circumstance might you use a loopback plug? What is process management in terms of computing? What provides redundancy through a process called disk mirroring? Is there a dbz saga 2 game?