Java MCQ Quiz (Part - 4) | infoStud blogs

Java MCQ Quiz (Part-4)

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. What is a class?





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





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





4. What is an object?





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





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





7.What is a reference to an object?





8. What is the class of the type wrapper for the primitive type int?





9. How many alternatives are there for a single if-else statement?





10. Which three parts of a counting loop need to be coordinated in the right order for the loop to work properly?





Also Attempt

Post a Comment

0 Comments