what is the scope of access modifier "friendly" in comparision with protected and default? "friendly" can be used only as method access modifier, right?
Java has no "friendly" keyword/modifier. Default access is package access and is sometimes called friendly access. However, this is not to be confused with the keyword "friendly" in C/C++ as it is a totally different concept.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt