Re: Here's a dumbass question
From: Liz (Liz_at_nospam.com)
Date: 06/19/04
- Next message: Muz: "Re: Offending class: javax/servlet/Servlet.class"
- Previous message: Liz: "Re: Can't seem to UPDATE dBase table"
- In reply to: James D Carroll: "Here's a dumbass question"
- Next in thread: John C. Bollinger: "Re: Here's a dumbass question"
- Reply: John C. Bollinger: "Re: Here's a dumbass question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 19 Jun 2004 04:41:12 GMT
"James D Carroll" <jamesdcarroll@hotmail.com> wrote in message
news:SqOcncwfg7B2FE7d38DK-g@speakeasy.net...
> I don't know why I never thought of this, but we know that there is the
> "package" level of protection for methods. Let's say that there is a
package
> that I'm interested in. Could I create a class that of the same package
to
> gain access to them? Could I create a class as
>
> package java.lang
>
> public class MyClass{...}
>
>
> and get access to all the methods all the methods that were supposed to be
> for the original class in that package only?
>
>
> Thanks,
>
I think so, just put the class file in the same directory. But you
may find that users will be reluctant to put your class there on their
systems.
- Next message: Muz: "Re: Offending class: javax/servlet/Servlet.class"
- Previous message: Liz: "Re: Can't seem to UPDATE dBase table"
- In reply to: James D Carroll: "Here's a dumbass question"
- Next in thread: John C. Bollinger: "Re: Here's a dumbass question"
- Reply: John C. Bollinger: "Re: Here's a dumbass question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|