Question

Read Chapter 6 - Data Types Answer the following questions:

3. Explain all of the differences between subtypes and derived types. 4. What significant justification is there for the -> o
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 3) A subtype is nothin but a specialized version of a type. A derived class is a subtype (subclass) of a base class type.In C++.Another type of subtype means that we can use the subtype in all situations where the parent type could be used.
Subtypes of a given type will be compatible with each other. whereas a derived type is completely new and is incompitable with it's parent.

Answer 4) The -> operator in C or C++ is used to access elements in Structures and Unions.It gives the value held by variable to structure or union variable pointer

It's syntax is:

(pointer)->(variable)

It is as if the arrow is pointing towards the variable present in the structure.

Answer 5) In Java, an enumeration can be compared to a named instance of a class.where we can customize the members available on the enumeration. Whereas In case of C++, an enumeration is nothing but a set of integral constants.
C++ will automatically convert enum values to their equivalent integral values, whereas the conversion is not automatic in case of java.

Add a comment
Know the answer?
Add Answer to:
Read Chapter 6 - Data Types Answer the following questions: 3. Explain all of the differences...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please explain all 3 and answer questions thoroughly CHAPTER 13: CYTOSKELETON 3. The eukaryotic cytoskeleton is...

    Please explain all 3 and answer questions thoroughly CHAPTER 13: CYTOSKELETON 3. The eukaryotic cytoskeleton is made of three types of filaments. Compare and contrast the three types of filaments, discussing how they are similar and different in structure and function. 4. How is the concentration of GTP linked to the cell cycle? CHAPTER 14: CELLULAR MOTILITY 5. How do dyneins and kinesins work? Describe the structures of each, what filaments they use, and how movement is achieved.

  • Assignment #3 for Chapters 6-7 Answer the 7 questions below from Chapters 6-7. Feel free to...

    Assignment #3 for Chapters 6-7 Answer the 7 questions below from Chapters 6-7. Feel free to use examples and cite the text when appropriate. To make this easier to read, you may use bullets, lists etc., but you must write grammatically correct. Please include the question with the answer. Do not just submit answers. Your answers should be complete sentences. These are NOT one sentence answers. Submit your responses as a Word attachment in the assignments tab in Canvas under...

  • Answer all elaborately or dont even attempt. 7. (4 points) Explain why, in MARIE, the MAR...

    Answer all elaborately or dont even attempt. 7. (4 points) Explain why, in MARIE, the MAR is only 12 bits wide while the AC is 16 bits wide. Hint: Consider the difference between data and addresses. 8. (24 points) Use a few sentences to answer each of the following questions. The answers can be found in section 4.1 to 4.7 in the textbook. 1) What purpose does the datapath in a CPU serve? 2) What does the control unit in...

  • Chapter 5 1. Define micro-molecules and macromolecules. Explain the differences between these molecules a, b, and c,...

    Chapter 5 1. Define micro-molecules and macromolecules. Explain the differences between these molecules a, b, and c, give an example of each. a) monosaccharides, disaccharides, and carbohydrates, and polysaccharides b) amino acids and proteins c) glycerol, fatty acids, and lipids 2. Explain the differences between complex carbohydrates, high fructose corn syrup, and nutritive sweeteners, alternative sweeteners. Explain the complicated side effects of high fructose corn syrup and nutritive sweeteners 3. Explain the differences between starch and glycogen, their function in...

  • Please can you answer questions # 5 and 6 Chapter 9: HEMATOPOIETIC SYSTEM Read the following...

    Please can you answer questions # 5 and 6 Chapter 9: HEMATOPOIETIC SYSTEM Read the following case study and answer the questions that follow: Susan is a 52-year-old mother of three. Recently she has been complaining of fatigue. She cannot seem to get rid of this bout of pneumococcal pneumonia, and now she says it feels like all of her bones hurt. Her physician orders a skeletal survey. 1. What do you suspect her physician is looking for? 2. What...

  • Answer all the questions please Answer all the questions please 11 Match the following characteristics with the...

    Answer all the questions please Answer all the questions please 11 Match the following characteristics with the correct taxon. 1. no tail A Catarrhini 2. laterally directed nostrils B. Hominoidea 3. bony ear tube C. Platyrrhini 4. some have prehensile tails D. Strepsirhini 5. two-part mandible E. Cercopithecoidea 12 Name two strepsirhine characteristics that differentiate them from haplorhines. a b 13 Name two haplorhine characteristics that differentiate them from strepsirhines. a b 14 Name two catarrhine characteristics that differentiate them...

  • please answer all questions JUST ANSWER THIS PLEASE <Chapter 17 - Temperature, Thermal Expansion, and the...

    please answer all questions JUST ANSWER THIS PLEASE <Chapter 17 - Temperature, Thermal Expansion, and the Ideal Gas Law Item 12 12 of 13 > Constants Periodic Table The gauge pressure in a helium gas cylinder is initially 33 atm. After many balloons have been blown up, the gauge pressure has decreased to 6 atm. Part A What traction of the original gas remains in the cylinder? Assume that the temperature of the gas is constant Express your answer using...

  • radiographic pathology for technologists Chapter 8: CENTRAL NERVOUS SYSTEM Answer the following questions with a short...

    radiographic pathology for technologists Chapter 8: CENTRAL NERVOUS SYSTEM Answer the following questions with a short answer (2-3 sentences). • Please submit only the answer portion of this exercise to the instructor. • Make sure to number your answers. 1. Where is CSF manufactured and absorbed? Explain the physiologic basis for the development of hydrocephalus. 2. Why is MRI the modality of choice for demonstrating diseases in the posterior fossa? 3. What is the most common cause for CVA and...

  • SECTION B - SHORT ANSWER QUESTIONS [30 MARKS] Answer ALL questions from this Section. 1. Explain...

    SECTION B - SHORT ANSWER QUESTIONS [30 MARKS] Answer ALL questions from this Section. 1. Explain three (3) reasons why there is increased the use of technological tools for training delivery. (6 marks) 2. List two (2) advantages and disadvantages of using an Internal consultant in your organisation. (4 marks) 3. Explain the difference between Cognitivism and Behaviourism. Give one (1) example on how each theory can be applied by a coach/trainer (6 marks) 4. State two (2) similarities and...

  • For a random sample of 36 data pairs, the sample mean of the differences was 0.72....

    For a random sample of 36 data pairs, the sample mean of the differences was 0.72. The sample standard deviation of the differences was 2. At the 5% level of significance, test the claim that the population mean of the differences is different from 0. (a) Is it appropriate to use a Student's t distribution for the sample test statistic? Explain. No, the sample size is not larger than 30. Yes, the sample size is larger than 30. No, the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT