Posted by: default061 October 15, 2011
problem in java coding
Login in to Rate this Post:     0       ?        
 Unknown bro, your code runs perfectly. few curly braces were missing in your copied code. 
What IDE are you using? if you are using command line, try compiling all files separately.
Also if you are using eclipse, try refreshing the project as well ( elcipse had bug , dunno if they fixed it).
Andif your classes are in different packages, try importing the packages OR provide the full path of the classes including package like 

com.unknown.packagename.Player p= new com.unknown.packagename.Player();

your code gave me this output: ( copied and pasted)


Team : Team#3
KNICKS
Mike Sweetney
Allan Houston
Howard Eisley
Kurt Thomas
Shanon Anderson
+++++++++++++++++++++++++++++++++=
Read Full Discussion Thread for this article