Alexey Veselovsky Wrote:

> ok. What about:
> 
> struct Foo {
>     int a;
>     int b;
>     // 100 more fields
>     ...
>     void foo();
> }
> 
> Did I must write in implementation all this 100+ fields in implementation?
> 
> In Ada and Modula there is 2 languages: one for implementation and
> another for specification. (specification language not subset of
> implementation language). I think it is right.

In Java separation is done with interfaces. I think it is right.

Reply via email to