Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Simpler JAVA input command?

For i know from old BASIC that for user input you needed command INPUT.

Now, in JAVA i need to call access to entire damn library, so simple INPUT is in JAVA several long lines and commands i have to type in? Is there simpler way and why the heck is so simple thing made so complicated?! Not logically but physically, because i have to type so damn many lines...

2 Answers

Relevance
  • 6 years ago

    Trying to make a real program in BASIC is not so basic though, as it forces you to overcome the language's limitations.

    If you find that simply asking for input is complicated in JAVA, you should probably go to more beginner tutorials.

  • 6 years ago

    You can always make your own generalized functions that contains the "complex part" so when you need it all you need is to call your function to have a simpler interface to the complex.

    This is the basics of an API way of thinking.

Still have questions? Get answers by asking now.