Examlex

Solved

What Is the Output of the Following Code Snippet

question 105

Multiple Choice

What is the output of the following code snippet?
Int golfScore = 64;
If (golfScore < 60)
{
System.out.println("Astounding!") ;
}
If (golfScore >= 60 && golfScore < 70)
{
System.out.println("Professional!") ;
}
If (golfScore >= 70 && golfScore < 80)
{
System.out.println("Pretty good!") ;
}
If (golfScore >= 80 && golfScore < 90)
{
System.out.println("Not so hot!") ;
}
If (golfScore >= 90)
{
System.out.println("Keep your day job!") ;
}


Definitions:

Fold and Thrust Belts

Regions in the Earth's crust where the layers of rock have been folded and thrusted over one another due to compressional forces, often found in mountainous areas.

Thrust Faults

Types of reverse faults that have a dip of 45 degrees or less, meaning they are nearly horizontal; significant in shaping landscapes by pushing rocks upwards.

Cleavage

A geological term referring to the tendency of minerals to break along flat, parallel planes of weakness in their crystal structure.

Joints

Innate cracks or splits in rock formations that occur without any shift, typically due to how the rock reacts to pressure.

Related Questions