Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6387099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:06:35+00:00 2026-05-25T03:06:35+00:00

On page 13 in the GoF book there is a statement: Two objects of

  • 0

On page 13 in the GoF book there is a statement:

Two objects of the same type need only share parts of their interfaces.

I am not sure I understand this sentence.

EDIT: full quote might indeed help to understand that

A type is a name used to denote a particular interface. We speak of an
object as having the type “Window” if it accepts all requests for the
operations defined in the interface named “Window.” An object may have
many types, and widely different objects can share a type. Part of an
object’s interface may be characterized by one type, and other parts
by other types. Two objects of the same type need only share parts of
their interfaces
. Interfaces can contain other interfaces as subsets.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:06:35+00:00Added an answer on May 25, 2026 at 3:06 am

    In their language, an objects interface is the the entire public contract of the object (Don’t think language implementation here).

    The set of all signatures defined by an object is called the interface
    to the object.

    A type is more like what you would think of as a declared interface….

    A type is a name used to denote a particular interface.

    Imagine:

    public class Foo : IBar, IBaz {}
    
    public class Fuz : IBar, IBuz {}
    

    A Foo and a Fuz are both IBar “types” but they only share that aspect of their respective interfaces.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On page 88 of Stephen Toub's book http://www.microsoft.com/download/en/details.aspx?id=19222 There is the code private BlockingCollection<T>
page.getByXPath(//*[@href='http://www.example.com/index.do/abc/1_*'); Do I need to escape any characters? I am trying to get all
Page contains four grid with same no of columns.so, i have created a usercontrol
My page should make notification sounds only when the window is in the background.
Page 146 of the jQuery mobile First look book mentions data-placeholder, but I don't
page: http://jsbin.com/eniva4/edit I have one main div: #main-content which contains two div's : #announcement
Page one contains an HTML form. Page two - the code that handles the
Page A has a meta refresh to redirect to another page, C , after
Page has menu items that would replace a 'div id=foo_(current menu item)' with 'div
Page in question: http://phwsinc.com/our-work/one-rincon-hill.asp In IE6-8, when you click the left-most thumbnail in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.