Search:

Type: Posts; User: Amanita

Search: Search took 0.13 seconds.

  1. Replies
    7
    Views
    1,432

    Re: Super basic questions

    import java.util.Scanner;

    public class Main {

    public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    String str1 = "Java";
    String str2...
  2. Replies
    7
    Views
    1,432

    Re: Super basic questions

    Okay, I think I don't understand the difference between a String variable and a String, maybe?

    A String is a series of characters? The tutorial doesn't (and neither does my quick googling)...
  3. Replies
    7
    Views
    1,432

    Re: Super basic questions

    ^ Thanks. I get that String is the name of a class but, in that example, as far as I can see it is NOT defining any variables? There is no definition after the '=' sign so....what?

    String...
  4. Replies
    7
    Views
    1,432

    Super basic questions

    Hello,

    I'm trying to go through the course at JetBrains Academy (free due to coronavirus!) Until now, it was going better than any other I'd tried.

    I know only what it has covered, and...
Results 1 to 4 of 4