|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Exercise5_5
The public class
Field Summary | |
private ProtectedData |
pd
|
Constructor Summary | |
Exercise5_5()
Directly mainpulate the protected variables in the friendly class |
Method Summary | |
void |
alterProtected(int i)
Default constructor that create an instance of the friendly class |
static void |
main(java.lang.String[] args)
The main method. |
void |
showData()
Show content of friendly class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ProtectedData pd
Constructor Detail |
public Exercise5_5()
Method Detail |
public void alterProtected(int i)
public void showData()
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |