Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to use TextIO.putln() method in Networking  RSS feed

 
VarunS Singh
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Above shown is the code for Client side in networking and the problem is that I am not being able to know why the method TextIO.putln() is not working?
Thanks in advance for any suggestions
 
Stephan van Hulst
Saloon Keeper
Posts: 7371
130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is TextIO? It's not part of Java's standard API, and you have no import for it, so either you wrote it yourself or you forgot to import it.

You really should break up your main() method. It does way way too much, and it's poorly readable.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!