Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Package private constructors and private constructors in Joos

23 views
Skip to first unread message

Ming-Ho Yee

unread,
Feb 18, 2014, 11:33:16 AM2/18/14
to
According to the Joos Languages page, public constructors and protected constructors are allowed. However, I cannot find anything that explicitly forbids package private constructors or private constructors.

I suspect that these are not supported, since Joos does not support package private classes/fields/methods or private fields/methods.

Ondřej Lhoták

unread,
Feb 20, 2014, 10:58:28 AM2/20/14
to
On Tue, Feb 18, 2014 at 08:33:16AM -0800, Ming-Ho Yee wrote:
> According to the Joos Languages page, public constructors and protected constructors are allowed. However, I cannot find anything that explicitly forbids package private constructors or private constructors.
>
> I suspect that these are not supported, since Joos does not support package private classes/fields/methods or private fields/methods.

That's correct: package private constructors and private constructors
are not allowed in Joos.

0 new messages