Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Access Modifiers and Specifiers (http://www.go4expert.com/forums/access-modifiers-specifiers-t483/)

prashantSum 26Oct2005 15:36

Access Modifiers and Specifiers
 
What are Access Modifiers and
What are Access Specifiers

shabbir 26Oct2005 17:54

Re: Access Modifiers and Specifiers
 
There is no difference between Access Modifiers and Access Specifiers. Its just different names for the same Stuff.

Quote:

private
public
protected

prashantSum 26Oct2005 18:08

Re: Access Modifiers and Specifiers
 
then some people say
Access Modifiers are
transient
static...etc

what are those

shabbir 26Oct2005 20:34

Re: Access Modifiers and Specifiers
 
Transients and statics are different and there is nothing relating to the difference between Access Modifiers and Specifiers.

Transient
Temporary; transitory; not lasting or enduring. or Varying in time, as opposed to steady state.

Static
For class variables, the variable is shared by all objects of the class and retains its value within the entire program.
For internal variables, the variable has block scope and retains its value between function calls.

Thanks
Shabbir Bhimani

prashantSum 27Oct2005 10:06

Re: Access Modifiers and Specifiers
 
thanks for the reply

aniruddha 26May2007 12:31

Re: Access Modifiers and Specifiers
 
hi
expalian transient in java with example
:confused:

aniruddha 26May2007 12:58

Re: Access Modifiers and Specifiers
 
can we change access modifiers in case of over loading and overriding :confused:

shabbir 26May2007 17:50

Re: Access Modifiers and Specifiers
 
Quote:

Originally Posted by aniruddha
can we change access modifiers in case of over loading and overriding :confused:

Yup.


All times are GMT +5.5. The time now is 11:54.