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 9051279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:52:06+00:00 2026-06-16T12:52:06+00:00

I have a question about declaration of class. I read the following lines in

  • 0

I have a question about declaration of class.

I read the following lines in a paper: A C++ class declaration combines the external interface of an object with the implementation of that interface.

So, what is a external interface in C++? are there concept of interface in C++? how to understand this: A C++ class declaration combines the external interface of an object with the implementation of that interface. ?

  • 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-06-16T12:52:08+00:00Added an answer on June 16, 2026 at 12:52 pm

    I think it’s referring to the API — i.e. the signatures of the public functions — as contrasted to the implementation — i.e. private functions and data members.

    class T
    {
       // Here are some private things.
       // You might say that these are part of
       //  the class's implementation.
    
       int x;
       int y;
    
       void foo();
       void bar();
    
    public:
       // And here are some public things, that
       //  constitute the class's API or "interface",
       //  which is the mechanism by which you may
       //  interact with objects of this type.
    
       void baz();
       void boz();
    };
    

    Notice how they are all present, right there, in the single class definition, and they must be. “Combined”.

    Ultimately, though, you’d have to ask the author of the paper as the terminology level used is up to them. Conceivably they could be talking about inheritance heirarchies and abstract base classes… though I can’t find a way to rationalise the assertion that C++ class definitions “combine” those in any real sense.

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

Sidebar

Related Questions

I have this question about c# language's dynamic binding behavior. Consider the following object
I have a question about how GC works in Java. Consider the following code:
I have a question about arithmetic behaviour in R. Regard the following piece of
The C++ Standard states the following about virtual functions that have exception specifications: If
I have a question about coding practice. I want to create a class which
Possible Duplicate: What is forward declaration in c++? I just have a question about
I have a question about Java Generics. In code below we have interface B
I have question about parsing in Html helper : I have sth like: @foreach
I have question about clean thory in Python. When: @decorator_func def func(bla, alba): pass
I have question about XSLT1.0. The task is to write out in HTML all

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.