The private showA method is shown in Listing 5.
showA displays the following information about an object instantiated from class A:Listing 5. The private showA method. |
---|
private void showA(){ System.out.println( "In showA, aTime = " + aTime); System.out.println( "In showA, xVar = " + xVar); System.out.println( "In showA, class name = " + getClass().getName()); }//end showA |
File: cq.htm | [Next] | [Prev] |