Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Elliott Jones   on Nov 28 In Java Category.

  
Question Answered By: Gustavo Taylor   on Nov 28

It's amazing how writing clarifies your thinking. No sooner had I sent
off this email than I immediately realized my mistake, whichh I had been
trying to understand for 2 hours.

Encode is an object--not a method!

As soon as I changed

String the_characters = encode(ch);

to


String the_characters = encode.getNewEncoding(ch);

Everything worked as it should.

I tried to post my correction, but my email didn't show up right away. I
checked again and again and after an hour I had to get to bed.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Can't initialize method Or get search suggestion and latest updates.


Tagged: