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

what isSlope-Intercept Form
DESCRIBE how thermal energy and temperature are similar. How are they different?
A man is making chicken noodle soup and has found it to be too salty. What method could he use to make the soup less salty?
WHAT WOULD BE THE BEST MICROSCOPE TO VIEW LIVING SINGLE CELLED ORGANISMS IN A SAMPLE OF POND WATER
Which factor is not used to define biomes? a. plant structures b. leaf type c. historical similarities d. climate
Why did Hitler want to kill the Jewish people?
At which of these locations is a dietician least likely to work? school theater hospital nursing home
A caterpillar represents which stage in the life cycle of an insect? A. pupa B. larva C. adult D. egg
which point is a reflection of point R(-2, 9) first across the y-axis and then across the x-axis? A.(-9, -2) B.(-2, -9) C.2, -9) D.(9, -2)
How does an octopus make a screen