100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ISDS 505 Final Ch 10 Graded A+ $10.99   Add to cart

Exam (elaborations)

ISDS 505 Final Ch 10 Graded A+

 3 views  0 purchase
  • Course
  • ISDS 505 Ch 10 Graded A+
  • Institution
  • ISDS 505 Ch 10 Graded A+

ISDS 505 Final Ch 10 Graded A+ Specific types of objects assume features of more general classes through ____________________. a. polymorphism b. inheritance c. encapsulation d. structure ️b. inheritance Which of the following is not a benefit of using inheritance when creating a ...

[Show more]

Preview 2 out of 5  pages

  • March 19, 2024
  • 5
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
  • ISDS 505 Ch 10 Graded A+
  • ISDS 505 Ch 10 Graded A+
avatar-seller
CertifiedGrades
ISDS 505 Final Ch 10 Graded A+ Specific types of objects assume features of more general classes through ____________________. a. polymorphism b. inheritance c. encapsulation d. structure ✔️b. inheritance Which of the fo llowing is not a benefit of using inheritance when creating a new class? a. You save computer memory because when you create objects of the new class, storage is not required for parent class fields b. You reduce the chance of errors, because the parent class methods have already been used and tested. c. You make it easier for anyone who has used the parent class to understand the new class because the programmer can concentrate on the new features. d. You save time, because you need not create fields a nd methods that already exist in a parent class. ✔️a. You save computer memory because when you create objects of the new class, storage is not required for parent class fields A child class is also called a(n) ____________________ . a. extended class b. base class c. superclass d. delineated class ✔️a. extended class Assuming that the following classes are well named, which of the following is a parent class of House? a. Apartment b. VictorianHouse c. Building d. myHouse ✔️c. Building A derived class usually contains ____________________ than its parent. a. more fields and methods b. the same number of fields but fewer methods c. fewer fields but more methods d. fewer fields and methods ✔️a. more fields and methods When you create a class that is an extension or child of another class, you use a(n) ____________________ between the derived class name and its base class name. a. ampersand b. hyphen c. dot d. colon ✔️d. colon A base class named Garden contains a private field width an d a property public int Width that contains get and set accessors. A child class named VegetableGarden does not contain a Width property. When you write a class in which you declare an object as follows, what statement can you use to access the VegetableGa rden's width? a. VegetableGarden myGarden = new VegetableGarden(); b. myGarden.Width c. myGarden.base.Width d. VegetableGarden.Width e. You cannot use Width with a VegetableGarden object. ✔️b. myGarden.Width When a parent class contains a private data fi eld, the field is ____________________ the child class. a. hidden in b. not a member of c. directly accessible in d. public in ✔️a. hidden in When a base class and a derived class contain a method with the same name and parameter list, and you call th e method using a derived class object, ____________________. a. you receive an error message b. the base class version overrides the derived class version c. the derived class version overrides the base class version d. both method versions execute ✔️c. the derived class version overrides the base class version Which of the following is an English -language form of polymorphism?

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller CertifiedGrades. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart