1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olegator [25]
4 years ago
6

Class members are accessed via the ____(1)_____ operator in conjunction with the name of an object of the class, or via the ___(

2)_____ operator in conjunction with a pointer to an object of the class.
Computers and Technology
1 answer:
Alborosie4 years ago
5 0

Answer:

1.ClassName and . operator

2. ClassName and [] operator

Explanation:

There are two ways to get the members of a class first one is by using dot(.) operator.

Example : with assumption that person is a class object and age is the member in it we can use it as:

person.age

Second way is to use [] operator with member as a string in it which is used by the compiler as key to get its value.

Example : person["age"]

You might be interested in
Which statement best describes antivirus software?
valentina_108 [34]
It identifies and removes viruses in computers
7 0
4 years ago
Stores of data that are so vast that conventional database management systems cannot handle them, and very sophisticated analysi
Colt1911 [192]
Maybe an international database, where all nations are invited to contribute information, THEREFORE, there would be a vast amount of data.
5 0
3 years ago
Write a recursive function sumAll that accepts an integer argument and returns the sum of all the integers from 1 up to the numb
slavikrds [6]

Answer:

int sumAll(int n)//function definition.

{

   if(n==1)//if condition.

   return 1;

   else//else condition.

   {

       return n+sumAll(n-1);//return the value and call the function in recursive manner.

   }

}

Explanation:

  • The above-defined function is a recursive type function that is written in the c language, which holds the if and else condition.
  • When the user passes the largest value from 1, then the else condition will be executed which adds the largest value and pass the value after the decrement of the value as an argument.
  • When the value will become 1, then the function if-block will be executed which returns the value and ends the calling function recursively.
8 0
3 years ago
Importance of computer education​
Stells [14]

Answer:

hope this helped

Explanation:

Computer technology has helped the world to grow and evolve quickly. By performing tasks quickly, computers make daily activities more convenient. They give people access to a wide array of information and can reach even the most remote locations on the planet.

6 0
3 years ago
Does the child in the crosswalk have the right of way? Explain why or why not.
qwelly [4]
A pedestrian always has the right of way when crossing a street in a crosswalk
3 0
3 years ago
Other questions:
  • _______________ is used by a hacker to mask intrusion and obtain administrator permissions to a computer.
    7·1 answer
  • PriQueue inherits from Queue. In the implementation of the getMax() method in the PriQueue class, we need to read and write the
    5·1 answer
  • Why does the hp computer not have Bluetooth?
    6·1 answer
  • Write a C++ program that reads students' names followed by their test scores. The program should output each students' name foll
    9·1 answer
  • What technical elements can a film director manipulate to achieve the final product, conveying his ideology and vision?
    11·1 answer
  • To create a small research essay (no more than 1 page) about coronavirus. You will need to have at least two sources and you wil
    15·1 answer
  • Which is the most likely reason film companies expanded so quickly?
    8·1 answer
  • When is the kids choiceee awads?????????????????????????
    12·2 answers
  • Which of the following is a definition of a conventions
    8·2 answers
  • When I’m design view, Henrietta deleted a previous criterion, added a new column, and filtered patients’ age. Which best describ
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!