BruceEckel / OnJava8-Examples

Code Examples for the book "On Java 8"

Home Page:http://www.OnJava8.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comments in Overloading.java is confusing

sivanesanms opened this issue · comments

public class Overloading { public static void main ( String [] args) { for ( int i = 0 ; i < 5 ; i++) { Tree t = new Tree (i); // Overloaded constructor t. info (); t. info ( "overloaded method" ); } new Tree (); } }

The comment //Overloaded constructor should be here.

Has been fixed for awhile. Sorry for leaving this issue open.