Professional Development

Image

Java Operators

1K
plays

15 questions

Show Answers
See Preview
  • 1. Multiple Choice
    2 minutes
    1 pt

    Which of the following is NOT a data types in java

    int

    String

    number

    double

  • 2. Multiple Choice
    2 minutes
    1 pt

    What is right way of defining String variable?

    String name = "John";

    String name = "John"

    String name = John;

    String name "John";

  • 3. Multiple Choice
    2 minutes
    1 pt

    float myFloatNum = 5.99f;

    System.out.println(myFloatNum);


    What will be the output?

    5.99

    5.99f

    "5.99"

    "5.99"f

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?