fuckeetow
Replies to this thread:

More by fuckeetow
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 problem in java coding
[VIEWED 5576 TIMES]
SAVE! for ease of future access.
Posted on 10-15-11 12:05 PM     [Snapshot: 50]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

The error message that you receive when you program fails.

 
Posted on 10-15-11 12:16 PM     [Snapshot: 62]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Are you talking about this?
Exception in thread "main" java.lang.Error: Unresolved compilation problems: 

Team cannot be resolved to a type

Team cannot be resolved to a type

Input3 cannot be resolved to a type

Input3 cannot be resolved to a type

Input3 cannot be resolved to a variable

Team cannot be resolved to a type

Team cannot be resolved to a type

Player cannot be resolved to a type

Player cannot be resolved to a type

Input3 cannot be resolved to a variable

Player cannot be resolved to a type

Player cannot be resolved to a type

 

at PlayerTeamsTest.main(PlayerTeamsTest.java:6)


 
Posted on 10-15-11 3:22 PM     [Snapshot: 95]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 I dont see a constructor for class Player.
 
Posted on 10-15-11 3:26 PM     [Snapshot: 94]     Reply [Subscribe]
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
+++++++++++++++++++++++++++++++++=

 
Posted on 10-15-11 3:49 PM     [Snapshot: 104]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 good job man!! your code works....not even a tiny prob....lemme know if  you still have a prob..i can export and send the package to you ! 
 
Posted on 10-15-11 5:22 PM     [Snapshot: 144]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 thanks everyone.. I am using eclipse. as default said, it is still giving the same error. what are yall using for java? i am new to java so I dont know a lot about these things?
mailaba, can you send it to me?



 
Posted on 10-15-11 6:51 PM     [Snapshot: 181]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 sajha is not letting me upload the zipped file...make a fake gmail id and i ll mail it to u!
 
Posted on 10-15-11 7:14 PM     [Snapshot: 217]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 iamunknown54321@gmail.com
 
Posted on 10-15-11 8:07 PM     [Snapshot: 232]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

http://solutionslog.blogspot.com/2009/04/eclipse-cannot-be-resolved-to-type.html

 
Posted on 10-15-11 9:05 PM     [Snapshot: 265]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 thanks everyone. you guys are awesome. its working now.
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
श्राद्द
TPS Re-registration
सेक्सी कविता - पार्ट २
What are your first memories of when Nepal Television Began?
पाप न साप घोप्टो पारि थाप !!
पुलिसनी संग - आज शनिवार - अन्तिम भाग
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
TPS Re-registration case still pending ..
Lets play Antakshari...........
What Happened to Dual Citizenship Bill
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
is Rato Bangala school cheating?
मेरो अम्रिका यात्रा -२
Do nepalese really need TPS?
कता जादै छ नेपाली समाज ??
susta manasthiti lai ke bhanchan english ma?
कृष्ण नै अन्तिम सत्य
Nas and The Bokas: Coming to a Night Club near you
राजदरबार हत्या काण्ड बारे....
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
Harvard Nepali Students Association Blame Israel for hamas terrorist attacks
TPS Update : Jajarkot earthquake
is Rato Bangala school cheating?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters