Java MCQ Quiz (Part - 5) | infoStud blogs

Java MCQ Quiz

Following quiz provides Multiple Choice Questions (MCQs) related to Core Java. You will have to read all the given answers and click over the correct answer. Correct answer will be highleted with green colour and wrong answer will be highleted with red colour.

1. Which of the following is not a correct arithmetic expression?





2. What is an operand?





3. Which of the following expressions is not evaluated as a floating-point operation?





4. Which of the following declarations for the constant PI is correct (assuming that the value is correct)?





5. How many objects of a given class can be constructed in a program?





6. Which of the following is a correct way Stringto construct an object?





7. Do any objects exist at the moment a program is about to start?





8. Which of the following calls the method of length()the object strreferenced by and stores the result in wert?





9. What is a reference to an object?





10. Assuming that a random number Random rand = Random()generator was created. Which of the following selects an integer from the range 0, 1, 2, 3, 4, 5, 6, 7, 8, 9?





Also Attempt

Post a Comment

0 Comments