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
12345 [234]
2 years ago
15

What type casting mechanism should be used if you want to safely change (cast) a pointer type for pointing to a different object

in an inheritance hierarchy?
Computers and Technology
1 answer:
Reil [10]2 years ago
8 0

A<u> dynamic caste</u> casting mechanism should be employed if you want to safely change (cast) a pointer type for meaning to a different object in an inheritance hierarchy.

<h3>What is dynamic type casting?</h3>

The dynamic type cast transforms a pointer (or reference) to one class T1 into a pointer (reference) to another class T2 . T1 and T2 must be part of the same order, the classes must be accessible (via public derivation), and the modification must not be ambiguous.

<h3>What is casting mechanism?</h3>

Casting methods involve the use of molten material, usually metal. This molten material is then poured into a mold cavity that takes the form of the completed part. The molten material then cools, with heat naturally being extracted via the mould, until it solidifies into the desired shape.

To learn more about dynamic caste, refer

brainly.com/question/12634265

#SPJ4

You might be interested in
Which amendment applies to the following scenario? “Brian attended church with his two daughters and wife on Sunday." A First B
iragen [17]

Answer: First Amendment

Explanation:

The First Amendment gives individuals the freedom of speech and the right to proactive any religion that they want. It also allows the people have a peaceful protest.

The swcud amendment gives people the right to keep arms. The Fourth hinders individuals from being searched without a warrant.

Therefore, the answer is First Amendment.

4 0
3 years ago
Special keys that allow you to use the computer to perform specific functions
Pavel [41]

Answer:

Examples are Ctrl, Alt, Fn, Alt Gr, Shift, Caps Lock, Tab, Scroll Lock, Num lock, Esc, Windows Key, Backspace, Enter...

8 0
3 years ago
In order to create strong neural networks (connections) in your brain, you've got to __________ the learning process.
sleet_krkn [62]

Answer:

A. Participate actively in

Explanation:

The brain starts to develop even before a child is born and continues into adulthood. During the first few first years of a child's life, neurons, synapses and axon are multiplied to millions. The child's learning process determines the neural connections to be cut off by pruning. An active connection is retained while inactive neurons, synapses and axons are eliminated.

As the child grows, neural connections are strengthened by active participation in the learning process. But when these connections are left idle, they tend to decay.

8 0
3 years ago
We need ____ pointers to build a linked list.
adelina 88 [10]

Answer:

two

Explanation:

A linked list is a data structure which stores the multiple-element with data type

and a pointer that stores the address of the next element.

A linked list is a series of nodes connecting each other by a pointer.

a node contains data and a pointer.

For build an array, two pointers are used:

the first pointer for specifies the starting node called head node.

and the second pointer is used to connect the other node to build the linked list.

Both are used to build the array if we lose the head node we cannot apply the operation because we do not know the starting node and we cannot traverse the whole linked list.

for example:

1->2->3->4->5

here, 1 is the head node and -> denote the link which makes by the second pointer.

3 0
3 years ago
A user is having a difficult time printing certain types of documents to her laser printer. When she sends complex, mult-page, m
katen-ka-za [31]

Answer:

Add RAM to the printer

Explanation:

Adding RAM to the printers gives the following advantages:

  • printer prints the documents faster with reduced print time.
  • printer prints complex multi page, multi-color documents especially PDF files.
  • Print server sends the job according to the capacity of the printer so when the RAM is added the print server can send more jobs and the printing process becomes faster and printer will not refuse to print large documents. As a result printer can accept more print jobs.
  • It is also beneficial when the documents or files to be printed are of high resolution or are heavy files.
5 0
3 years ago
Other questions:
  • The number of operations executed by algorithms A and B is 40n2 and 2n3, respectively. Determine n0 such that A is better than B
    12·1 answer
  • Technological _____ is the term used to describe the merging of several technologies into a single device.
    13·1 answer
  • Processing is handled by the computer’s central processing unit (cpu).​ <br> a. True <br> b. False
    6·1 answer
  • "where is a cookie that is created during a web site visit​ stored?"
    9·1 answer
  • Pseudocode is an improvement over the IPO chart because it lays out the a0 sequence of steps for a particular program.
    6·1 answer
  • Give the appropriate term for each of the following.1. An easy-to-remember address for calling a web page (like www.code.org). 2
    8·1 answer
  • The hardware to keep the output data when finished is a
    9·1 answer
  • How can volunteering yo help plan fundraiser for your team or club be a way to develop your strengths?
    13·1 answer
  • _ models are non visual ways of communicating how someone thinks about something in the natural world
    12·1 answer
  • Computer can do work very___​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!