QueenDarbane2242 QueenDarbane2242
  • 22-08-2019
  • Computers and Technology
contestada

1. What are the built-in operations on classes?

Respuesta :

flightbath flightbath
  • 31-08-2019

Answer:

Assignment Operator

Member Selection Operator

Explanation:

Assignment Operator is useful to assign some value to the instance variables of classes. We can use this operator directly on the class.

example:

Simple s=new Simple();

s.salary=9000;

Member Selection operator is useful to select a member of the class.

below code explains Member Selection operator

example:

Test s;

Test *pS = new Test();

s.f() ;  //call function using non-pointer object

pS->f();

Answer Link

Otras preguntas

How would you plot the graph of x²-2x-4 ?Please include an explanation. Thanks in advance :)
A pan for baking French bread is shaped like half a cylinder. It is 12 inches long and 3.5 inches in diameter. What is the volume of uncooked dough that would f
what art does jason vincent scarpace make and how?
What is the short summary of Famous Last Words by Katie Alender?
What is a function library?
How far from a converging lens with a focal length of 16 cm should an object be placed to produce a real image which is the same size as the object? Express you
Which graph represents y=[2] over the domain 3 <_x <_ 6?
i need help filling in the blanks to these sentences by finding the reciprocal pronoun that belongs there.
need asap What is the role of the cell wall in plant cells?
What are the social organizations work in Nepal and function​