|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Exercise5_6
Exercise 5.6 from the book.
Field Summary | |
(package private) int |
friendlyI
|
private int |
privateI
|
protected int |
protectedI
|
int |
publicI
|
Constructor Summary | |
Exercise5_6()
Constructor for objects of class Exercise5_6 |
Method Summary | |
static void |
main(java.lang.String[] args)
Main which some objects |
(package private) void |
showFriendly()
|
private void |
showPrivate()
|
protected void |
showProtected()
|
void |
showPublic()
Shows all public instance variables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int publicI
protected int protectedI
private int privateI
int friendlyI
Constructor Detail |
public Exercise5_6()
Method Detail |
public void showPublic()
protected void showProtected()
private void showPrivate()
void showFriendly()
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |