Search:

Type: Posts; User: John Davies

Search: Search took 1.09 seconds.

  1. Replies
    2
    Views
    559

    Re: Instantiation from within Methods

    Great, thanks very much! I instantiated class field mySeg outside of the class, after instantiating the new class like this:- and deleted the superfluous instantiations:-
    CharSeqPlus myCS = new...
  2. Replies
    2
    Views
    559

    Instantiation from within Methods

    Hi, I'm a novice. I want to understand why this code will not work. This is an exercise in implementing interfaces, and I've missed something fundamental. If I invoke a method (say charAt) from...
Results 1 to 2 of 2