🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19450

Re: Public/Protected

#19450
From: Paul Murray
Date: Tue, 03 Feb 1998 00:00
33 lines
1411 bytes
The language ref with the answer to all these q's and more is at
http://java.sun.com/docs/books/jls/html/index.html

In particular, you would be interested in "Qualified names and acess
control"
http://java.sun.com/docs/books/jls/html/6.doc.html#33916

Leo Crawford wrote in message <6ahvd2$qp78@forums.borland.com>...
>
>Nathan Kirkham wrote in message
><34CC7AD7.9EFFA93B@NOSPAM.result2k.u-net.com>...
>>Protected means available to references inside the package, public means
to
>>any class
>
>
>Even if the class is not declared public??
>
>Cheers
>
>Leo
>
>>
>>David Orriss Jr. wrote:
>>
>>> "Leo Crawford" <L.Crawford@warwick.ac.uk> wrote:
>>>
>>> >I'm just curious, but if I don't declare a class as public is there any
>>> >difference between declaring methods inside it public or protected?
>
>
>
Technical Details
Message-ID: <6b6lln$6278@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6a0npv$i7e11@forums.borland.com> <34cce5b6.62238824@forums.borland.com> <34CC7AD7.9EFFA93B@NOSPAM.result2k.u-net.com> <6ahvd2$qp78@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,919381d2cfe95743
X-Google-Attributes: gidf74b3,public
From: "Paul Murray" <pmurray@bigpond.com>
Subject: Re: Public/Protected
Date: 1998/02/03
Message-ID: <6b6lln$6278@forums.borland.com>
X-Deja-AN: 321617434
References: <6a0npv$i7e11@forums.borland.com> <34cce5b6.62238824@forums.borland.com> <34CC7AD7.9EFFA93B@NOSPAM.result2k.u-net.com> <6ahvd2$qp78@forums.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: N/A
Newsgroups: borland.public.jbuilder.java.language