Computers

University

Image

Java Operators

1.1K
plays

14 questions

Show Answers
See Preview
  • 1. Multiple Choice
    10 seconds
    1 pt

    ++ increases the value of a variable by 1

    assignment operator

    decrement operator

    increment operator

    sentinel

  • 2. Multiple Choice
    10 seconds
    1 pt

    What would the new value of A be?

    A=1;

    a++;

    1

    2

    3

    4

  • 3. Multiple Choice
    30 seconds
    1 pt

    What's the value of below?


    int i=5;

    System.out.println(i++);

    System.out.println(i);

    System.out.println(++i);

    5

    6

    7

    6

    6

    7

    6

    7

    8

    5

    5

    6

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?