Computers

Professional Development

Image

Java lvl2

5
plays

9 questions

Show Answers
See Preview
  • Multiple Choice
    Please save your changes before editing any questions.
    5 minutes
    1 pt
    Image

    Что выведется в консоль?

    one

    two

    three

    four

    five

  • Multiple Choice
    Please save your changes before editing any questions.
    5 minutes
    1 pt

    What is the result of the following code?

    StringBuilder sb = new StringBuilder();

    sb.append("aaa").insert(1, "bb").insert(4, "ccc");

    System.out.println(sb);

    abbaaccc

    abbaccca

    bbaaaccc

    bbaaccca

  • Multiple Choice
    Please save your changes before editing any questions.
    5 minutes
    1 pt
    Image

    01+89–

    012+9–

    012+–9

    The code does not compile.

  • Explore all questions with a free account

    Already have an account?