TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
"Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
X-To:
Date:
Tue, 6 Feb 2001 20:43:05 +0300
Reply-To:
"Alexandre E. Kopilovitch" <[log in to unmask]>
Subject:
From:
"Alexandre E. Kopilovitch" <[log in to unmask]>
Content-Type:
text/plain; charset=us-ascii
In-Reply-To:
<"B194ZYVZDWQGO*/R=FBDCVD/R=A1/U=MCCABE JOHN/"@MHS>; from "[log in to unmask]" at Tue, 6 Feb 2001 09:43:13 +0000
Organization:
h w c employees, b f
MIME-Version:
1.0
Parts/Attachments:
text/plain (22 lines)
>>>The only thing Java added
>>>to C++ was a little bit of (not nearly enough) error-resistance.
>
>>interfaces
>
>So what is the difference between a Java Interface and a C++ pure virtual class
>(apart from the C++ version being less restrictive)?

Well, consider the following declaration:

  public class GentleThread implements Runnable {
    ...
    }

How do you say that in C++ ? I.e., what in C++ corresponds to "implements" ?



Alexander Kopilovitch                      [log in to unmask]
Saint-Petersburg
Russia

ATOM RSS1 RSS2