Niloy, u r seeming new to java.
anyway, in java there r four types of access modifier( default, public, private and protected). u r asking for protected members to be described only. this means u know others well. we can think protected members in between public and private members. this means the area of protected members are in between this two. public members can b accessed from any other class outside from that class whereas private members can b accessed only in the class where it is defined. But protected members can b access by any member class file of a package. this means any class file under a package will recognise those members. e.g. suppose a package has three class file A,B, and C. if class A has any public member i,j,k; private member o,p,q and protected member x,y,z, then we can say---any methods of class A will recognise all these memebers, B and C class will recognise only public(i,j,k) and protected(x,y,z) members of class A. if we make a new class named it D. then D can only access the public(i,j,k) members of class A not private nor protected members.
i m not clear abt ur second query, hope u clearify that.
thanks