Class Exercise5_6

java.lang.Object
  extended byExercise5_6

public class Exercise5_6
extends java.lang.Object

Exercise 5.6 from the book.

Version:
1.0
Author:
Kristian Torp, torp (at) cs (dot) aau (dot) dk

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

publicI

public int publicI

protectedI

protected int protectedI

privateI

private int privateI

friendlyI

int friendlyI
Constructor Detail

Exercise5_6

public Exercise5_6()
Constructor for objects of class Exercise5_6

Method Detail

showPublic

public void showPublic()
Shows all public instance variables


showProtected

protected void showProtected()

showPrivate

private void showPrivate()

showFriendly

void showFriendly()

main

public static void main(java.lang.String[] args)
Main which some objects