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

Free 100coins. (just giving back because this community is awesome)
help me with this plzzzz
This distance from the Earth to the Sun given above is a standard for measuring other distances in the solar system and is called an Astronomical Unit or AU. 1A
Math question Plz Help
I Need help with this
In the years before WWI, the U.S. policy was one of?
Historians say that Reconstruction was a failure. Although the Southern states were admitted back into the Union, it took many more years for the country to reb
Does this graph show a constant or variable rate of change?
How has the physicalenvironment influenced the settlement of the United States?​
Suppose that the relation H is defined as follows. H={(-8, -1), (5, 6), (6, -1)} Give the domain and range of H. Write your answers using set notation. domain =