Interface and implementation

Bruce Eckel's Thinking in Java Contents | Prev | Next

public class X {
  public void pub1( ) { /* . . . */ }
  public void pub2( ) { /* . . . */ }
  public void pub3(&nbsp;) { /* . . . */ } <p><tt>  private void priv1(&nbsp;) { /* . . . */ } </tt></p><p><tt>  private void priv2(&nbsp;) { /* . . . */ } </tt></p><p><tt>  private void priv3(&nbsp;) { /* . . . */ } </tt></p><p><tt>  private int i; </tt></p><p><tt>  // . . . </tt></p><p><tt>}</tt></p>



Comments

  • There are no comments yet. Be the first to comment!

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date