In article <4Xqfh.164312$>, Knute Johnson took
the hamburger meat, threw it on the grill, and I said "Oh Wow"...
> trippy wrote:
> >> default access in class,
> >> I declare a class like:
> >> class ClassA
> >> {
> >> int getValue()
> >> {
> >> return 0;
> >> }
> >> }
> >>
> >> then what is the type of method:getValue?
> >
> > int
> >
> >> public?protected?or private?
> >
> > I believe the modifier would be public.
>
> It is not public but is accessible in the package in which it is declared.
>
Right.
http://java.sun.com/docs/books/jls/s...ames.doc.html#
104285
Thanks.
--
trippy
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM
NP: "The American Way" -- Sacred Reich
"Now, technology's getting better all the time and that's fine,
but most of the time all you need is a stick of gum, a pocketknife,
and a smile."
-- Robert Redford "Spy Game"