Amit,

protected:
May be access by:
        a sub classes in the same package
        a sub class in another package
        other classes in the same package

default:
May be access by:
        other classes in the same package
        a sub class in the same package
The default visibility is "private" at the package level


Tibo.
-----Original Message-----
From: Amit Bansal [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 5:15 AM
To: [EMAIL PROTECTED]
Subject: Core concepts


Hi all,
          I have a doubt in the java access modifiers.
What is the difference between protected and default modfiers.
Make it clear to me.
looking for expert' comments

Rgds
Amit

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".


=========================================================================
Ce message et toutes les pi�ces jointes sont propri�t� de VALTECH et
susceptibles de contenir des informations confidentielles � l'intention
exclusive de ses destinataires. Si vous avez re�u ce message par erreur
ou si celui ci vous est parvenu incomplet ou alt�r�, merci d'en avertir
l'exp�diteur par retour.Toute utilisation, diffusion ou publication non
express�ment autoris�e par nous par �crit est strictement interdite.
 --------------------------------------------------------------------------
This message and any attachments are Valtech property and may contain
iconfidential information intended solely for the addressees. If your are
not the intended recipient of this message or if you have received it
uncomplete or altered, please notify the author by replying to his e-mail
immediately. Any unauthorised use, diffusion or dissemination not
expressly authorised by us in writing is strictly prohibited.
=========================================================================
Copyright Valtech 2000

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to