SSL Certificate
  • Sometimes the terms Encapsulation and Data/Information Hiding in object-oriented programming are used interchangeably

Question: 01
Sometimes the terms Encapsulation and Data/Information Hiding in object-oriented programming are used interchangeably. Can you give an example, which shows that they are actually different?
Question: 02
Explain how inheritance allows you to use knowledge of general situations and apply it to more specific categories. List the benefits of using inheritance.
Question: 03
Distinguish between inheriting interface and inheriting implementation. How do inheritance hierarchies designed for inheriting interface differ from those designed for inheriting implementation?
Given the following list of classes, attributes and methods,
- identify which items are classes, which items are attributes and which items are methods;
- identify which class each attribute and method belongs to; and
- suggest a class hierarchy given your list of classes.

*Note : no particular capitalization scheme is used in the list below to differentiate between classes, methods and attributes.

AdhereToBuilding, NumberOfPetals, Photosynthesize, EmitFragrance, Length, Plant, Height, DaysToGermination, Rose, Grow, LosePetals, ConsumeWater, FloweringSeason, Vine, Color, LeavesPerInch


Question: 04
Briefly describe what an Interface is and how it can be used in an object-oriented program. Provide example pseudocode showing how an IShape Interface might be constructed.

===========

*Instant Download


Write a review

Please login or register to review

Sometimes the terms Encapsulation and Data/Information Hiding in object-oriented programming are used interchangeably

  • $9.99


*All your data are SECURED & ENCRYPTED using a valid, trusted server certificate (Comodo SSL) and we don't store credit card information on our servers and all Payments are SECURED & handled by Paypal.
SSL CertificatePaypal

Tags: Encapsulation, Data/Information Hiding, inheritance, inheriting interface and inheriting implementation, class, attribute, method, oops, object-oriented program, pseudocode, writeup