GoConqr has a new look! Let us know what you think.

Quiz

Java Quiz 1

Shimuk Trainings 2 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (2)

  1. 1Which statement is true?
    1. AAll objects that are eligible for garbage collection will be garbage collected by the garbage collector.
    2. BObjects with at least one reference will never be garbage collected.
    3. CObjects from a class with the finalize() method overridden will never be garbage collected.
    4. DObjects instantiated within anonymous inner classes are placed in the garbage collectible heap.
  2. 2int x = 3;
    int y = 1;
    if (x = y) /* Line 3 */
    {
    System.out.println("x =" + x);
    }
    1. Ax = 1
    2. Bx = 3
    3. CCompilation fails.
    4. DThe code runs with no output.

Information

Description
Quiz on Java Quiz 1, created by Shimuk Trainings on 26/03/2018.
Language
English
Views
4
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?