Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39060

Re: getFibonacciArray() cannot call getFibonacciArray(int from)

From Andreas Leitgeb <avl@logic.at>
Newsgroups comp.lang.java.programmer
Subject Re: getFibonacciArray() cannot call getFibonacciArray(int from)
Date 2019-08-02 06:51 +0000
Organization A noiseless patient Spider
Message-ID <slrnqk7nb4.36g.avl@logic.at> (permalink)
References <87o91amsyc.fsf@munus.decebal.nl> <qhv6p1$p7p$1@dont-email.me>

Show all headers | View raw


Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> wrote:
> If I had to hazard a guess, I would say that in jshell, you can't
> reference a method before you've declared it (lexically speaking).

That was also my guess after reading Cecil's post.

Then I tried it, and found out I know nothing about jshell.

Whatever order I typed into it, it just gave continuation
prompts or standard prompts.  Sometimes it even went back
to standard prompt before I typed the last close brace, and
whatever I typed, I never got anything back.  Even typing 
   System.out.println(42);
gave me nothing but an empty line and a new prompt...

Most likely I've been doing something wrong...

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

getFibonacciArray() cannot call getFibonacciArray(int from) Cecil Westerhof <Cecil@decebal.nl> - 2019-07-31 11:52 +0200
  Re: getFibonacciArray() cannot call getFibonacciArray(int from) Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-08-01 19:15 +0200
    Re: getFibonacciArray() cannot call getFibonacciArray(int from) Andreas Leitgeb <avl@logic.at> - 2019-08-02 06:51 +0000
    Re: getFibonacciArray() cannot call getFibonacciArray(int from) Cecil Westerhof <Cecil@decebal.nl> - 2019-08-03 11:26 +0200
  Re: getFibonacciArray() cannot call getFibonacciArray(int from) Cecil Westerhof <Cecil@decebal.nl> - 2019-08-03 11:11 +0200

csiph-web