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

Which of the following is not equivalent to the formula d = rt?
What are 3 things an Apple, Knife and Mirror have in common?
Which of the number(s) below are potential roots of the function?p(x) = x4 + 22x2 – 16x – 12
what is a tropical rainforest?
an entrepreneur estimates that the total profit from his proposed company will be given p(x)=x^3-4x^2+3x-12. where p is I'm hundreds of dollars and x is the num
Martin Luther and Johann Gutenberg were two men who broke with the Catholic Church true false
Two numbers add to 251 and the second is 41 bigger then the first. what are the two numbers?
What some players famous for biting others? Other than Luis Suarez :)
what is sugar art? could you help me?
can you guys help me out with number 13