Article View: borland.public.jbuilder.java.language
Article #19586Re: Public/Protected
From: Leo Crawford
Date: Mon, 26 Jan 1998 00:00
Date: Mon, 26 Jan 1998 00:00
21 lines
1028 bytes
1028 bytes
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:
<6ahvd2$qp78@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6a0npv$i7e11@forums.borland.com> <34cce5b6.62238824@forums.borland.com> <34CC7AD7.9EFFA93B@NOSPAM.result2k.u-net.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: "Leo Crawford" <L.Crawford@warwick.ac.uk> Subject: Re: Public/Protected Date: 1998/01/26 Message-ID: <6ahvd2$qp78@forums.borland.com> X-Deja-AN: 319315054 References: <6a0npv$i7e11@forums.borland.com> <34cce5b6.62238824@forums.borland.com> <34CC7AD7.9EFFA93B@NOSPAM.result2k.u-net.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: None Newsgroups: borland.public.jbuilder.java.language