Answer:
All
Explanation:
Not sure on the context of this question, but a loop is generally used to iterate though every piece of data to perform some kind of operation, on everything in something like an array or string.
Answer:
I believe it's accessibility
Explanation:
Because it makes the most sense
Answer:
The correct answer for the given question is "The program has a runtime NullPointerException because test is null while executing test.x"
Explanation:
In this code their is run time exception will occur in Main method i.e "java.lang.NullPointerException "because the object of the Test class i.e test will initialized by "null" .So on executing the statement test.x it gives an Runtime Exception.The "NullPointerException" can occur if we assign the object to the "null" value that why it produce an java.lang.NullPointerException