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 was one of the Congress of Vienna's primary goals?
3 The volume of a cube is 8 ft}. What is the length of each edge of the cube?
Debate It: The majority of promotional activities are deceptive. Provide a rationale for your response.
Escoge la palabra correcta según el contexto de la frase. Hace mucho frío pero mis amigos van a la playa aunque ____________ frío. Question 15 options: hace
This shielding is a maximum for UV light having a wavelength of 295nanometers. What is the frequency in hertz of this particular wavelength of UV light
What was the goal of René-Robert Cavelier, Sieur de la Salle, when he returned from France?
What is the meaning to the word conveys
75 is what perecent of 150
which of these particals are equal in number when an atom is neutral
what does temperate region and tropical region have in common