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
lys-0071 [83]
3 years ago
14

In a shallow copy, ____. the values of two or more pointers are copied into a list two or more pointers of the same type point t

o the same memory location two or more pointers of differing types point to the same memory location two or more pointers of the same type point to different memory locations
Computers and Technology
2 answers:
strojnjashka [21]3 years ago
8 0

Answer:

Explanation:

A Shallow copy is a bit-wise (unit of data) copy of an object that can be found/used in an object-oriented programming language code, the copy contains all of the same exact values that exist within the original object. In a shallow copy, two or more pointers of the same type point to the same memory location.

Misha Larkins [42]3 years ago
3 0

Answer:

two or more pointers of the same type point to the same memory

Explanation:

A shallow copy is a bit wise copy of another object. in this practice a new exact copy of an original object is created also if any of the fields of the original object is referenced to another object, while creating the shallow copy only the memory address of that field is copied.

A shallow copy is used in object oriented programming languages like C++, Java, python, SQL  .................... etc A shallow copy is very efficient because it helps to create copies of already created objects instead of having to create new objects everything .

You might be interested in
i need to also do a algorithm where if the total is a even number 10 points are added to the score and if the total is odd then
algol [13]

Answer:

def UpdateScore(score, total):

   if total % 2:

       print total, "is odd, so adding 10"

       score += 10

   else:

       print total, "is even, so subtracting 5"

       score -= 5

   print "The score is now",score

   return score

score = 0

score = UpdateScore(score, 3)

score = UpdateScore(score, 6)

Explanation:

The % operator returns the remainder after division. So if you divide by 2, the remainder is either 0 or 1, where 0 indicates an even number, and 1 indicates an odd number. The above program shows that.

5 0
3 years ago
Frank accidently overwrote his old document with a new document of the same name. He'd like to get his old document back. What f
Archy [21]

Answer:

the recycle bin?

Explanation:

usually when you overwrite something or delete it, it doesn't get entirely deleted rather stored in the recycle bin on your desktop i believe, and so you could retrieve applications through there

4 0
3 years ago
THERES THIS USER ON HERE WHO IS TAKING ALL YOUR POINTS SO I DID THE SAME THING TO HER CUZ SHE DID IT TO ME...SO WHY DONT WE ALL
GaryK [48]

Answer:

That is so low and I don't understand why that's necessary for her to do. Smh.

Explanation:

8 0
3 years ago
Which part of the cpu holds the memory address for the next instruction to be processed?
aleksley [76]
Register, google CPU registers for more info
7 0
4 years ago
Which of the following is a true statement about the countries highlighted on the map?
Tatiana [17]
Can i see a map of what you are talking about 
6 0
4 years ago
Read 2 more answers
Other questions:
  • You have implemented nap with dhcp enforcement, so you need to ensure you have an updated anti-virus software package, an update
    7·1 answer
  • Physical access, security bypass, and eavesdropping are examples of how access controls can be ________.
    15·1 answer
  • Which best describes a computer bug? A piece of computer hardware that is out of date or has a newer version a piece of computer
    14·2 answers
  • Windows domain policy to disable windows 10 update
    7·1 answer
  • You should use a ____ chart to compare values side by side, broken down by category.
    9·1 answer
  • Angela recently purchased a new Android smartphone. While purchasing the phone, Angela was told that she would need to set up a
    5·1 answer
  • To exclude members of a group from the basic permissions for a folder, which type of permission would you assign? Deny Allow Mod
    13·1 answer
  • An engineer is designing an HTML page and wants to specify a title for the browser tab to display, along with some meta data on
    12·1 answer
  • Spark is electrical discharge in air, while air is mix of variety of gases what particles conduct electricity in gas
    12·1 answer
  • Give 5 characteristics of bad capacitor<br> give 5 characteristics of good capacitor
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!