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
Kipish [7]
3 years ago
5

In the implementation of the getMax() function in the PriQueue class, we need to read and write the variables "front" and "rear"

, which are defined as protected members in the base class Queue. Are the functions in the derived class allowed to access the protected members in the base class?
Computers and Technology
1 answer:
natka813 [3]3 years ago
4 0

Answer:

The answer to the given question is "yes".

Explanation:

In the programming language, Protected is a keyword that is used as an access modifier by using protected members we only access within the same class and it also provides access to use this member in the derived class that is inherited by derived class from the base class.

That's why the answer to this question is "yes".

You might be interested in
which artists work provides visual effects to enhance the action of an animated movie , film, or video
lubasha [3.4K]

Answer:

VFX specialists can use software to perform animations plus unique effects. They mainly work on films, television shows, and or video games. This profession is normally granted full time and can also be part-time areas that may be accessible.

Explanation:

7 0
3 years ago
System software includes all of the following except
Amanda [17]

Answer:

System software includes all of the following except <u>Browsers</u>.

Explanation:

I just know

4 0
3 years ago
Plz help me! No guessing plz!
Tomtit [17]
C- World Wide Web - It has all web pages and files delivered by web servers 
4 0
4 years ago
A(n) Answer display color uses the least electricity when compared to any other color.
Elan Coil [88]

Is there answer choices because I’m not understanding what you want me to answer

3 0
3 years ago
You are planning to use Spark to create a machine learning model that recommends restaurants to users based on user details and
SCORPION-xisa [38]

Answer:

The third point i.e " Use an alternating least squares (ALS) algorithm to create a collaborative filtering solution" is the correct answer .

Explanation:

The Alternating Less Squares  is the different approach that main objective to enhancing the loss function.The Alternating Less Squares process divided the matrix into the two factors for optimizing the loss .The divided of two factor matrix is known as item matrix or the user matrix.

  • As we have to build the machine learning model which proposes restaurants to restaurants that are based on the customer information and the prior restaurant reviews the alternating least squares is the best model to implement this .
  • All the other options are not the correct model also they are not related to given scenario that's why they are incorrect options.
4 0
3 years ago
Other questions:
  • A(n) ____ is a primary key that consists of a column that uniquely identifies an entity, such as a person's social security numb
    14·1 answer
  • How does a main program recieve info from a function in c++?
    6·1 answer
  • Which objects with developed to help astronomers to learn more about the sun
    12·1 answer
  • Chunking is a good strategy for completing large assignments because it makes the work
    7·2 answers
  • Suppose I create a new kind of Java object, called "Kangaroo". Further suppose that at any given time, all instances of this new
    6·1 answer
  • To display data in a certain manner, like alphabetical order, is called
    5·2 answers
  • Having friends who cause you stress can decrease your happiness, which can in turn
    13·2 answers
  • Write a Python program that asks the user for a positive, odd value. Once the value is validated determine if the number is Prim
    11·1 answer
  • compare the two methods of creating table in ms access ( Datasheet view and Design view) which one wouldyou prefer to use to rec
    13·1 answer
  • Explain briefly how learning how to follow can make a person a good leader
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!