• Post Reply Bookmark Topic Watch Topic
  • New Topic

toCharArray  RSS feed

 
Sahil Manchanda
Ranch Hand
Posts: 41
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here s is a new hashset of characters
s = new HashSet<Character>();

whats wrong ? why the compiler error
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Copy/paste the exact, complete error message into a post here.

Also, it will be easier for you and us to see the source of the error (and to read your code in general) if you don't cram so much into one line. I would write that as 4 lines of code.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!