Examlex

Solved

While(nextLine = Reader.readLine() != Null)

question 22

Essay

while(nextLine = reader.readLine() != null)
    System.out.println(nextLine);
The above loop could be used to read multiple lines from a file. Explain how this loop will execute.


Definitions:

Continental Crust

The type of Earth’s crust that underlies the continents and the continental shelves; average granitic composition, but includes diverse types of material.

Oceanic Crust

the part of the Earth's crust that underlies the oceans, thinner and denser than continental crust.

Upper Mantle

The upper mantle refers to the portion of the Earth's mantle that lies just beneath the crust, extending down to a depth of about 660 kilometers, involved in tectonic movements and convection currents.

Lower Mantle

The deeper section of the Earth’s mantle extending from 670 kilometers below the surface to the outer core, characterized by high pressure and temperature.

Related Questions