Java Programming Language

Answer all questions carefully. After submission, you will see a detailed result and answer review.

Question 1
Iterators are a generic way to go through all the elements of a ______ no matter how it is organized.
Question 2
What is the value of the expression !(5 > 3) using the logical NOT operator in Java?
Question 3
Loop ______ the program code.
Question 4
If x is 6 and y is 2, what is the value of the expression x %= y using the compound assignment operator in Java?
Question 5
What is one disadvantage of procedural programming compared to object-oriented programming?
Question 6
Which OOP concept promotes the ability of an object to take multiple forms?
Question 7
How does OOP contribute to better maintenance of code?
Question 8
What is the default value of a boolean datatype in Java?
Question 9
If b is 3 and c is 2, what is the result of the expression b >>= c using the compound assignment operator in Java?
Question 10
Why is method overloading not possible by changing the return type in Java?